This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: make fails to change directory.


On Sun, May 25, 2008 at 11:30:27AM -0400, Christopher Faylor wrote:
>On Sun, May 25, 2008 at 12:07:10PM +0300, Gadi Oron wrote:
>>Hi Dave,
>>
>>I made some more tests and I've found the root cause: in fact
>>
>>/bin/sh -c "cd <directory>"
>>
>>will not work for a directory in $pwd unless it has a leading "./"
>>
>>Only bash - when disguised as sh - has this issue, ash for example
>>does not behave like this.
>>
>>Do you have an idea how to bypass this?
>
>You've got a number of these:
>
>Found: c:\Program Files\GnuWin32\bin\rm.exe
>Warning: C:\cygwin\bin\rm.exe hides c:\Program Files\GnuWin32\bin\rm.exe
>
>in your cygcheck output.  I wonder if you're running a non-cygwin version
>of sh (or make) somehow.
>
>ls -l `which make`
>ls -l `which sh`

Actually your PATH is a real mess.  It would probably be worthwhile to go
through it, remove duplicates and eliminate things that you don't need.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]