This is the mail archive of the
mailing list for the Cygwin project.
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:
>>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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html