This is the mail archive of the
mailing list for the Cygwin project.
Re: make fails to change directory.
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 25 May 2008 11:30:27 -0400
- Subject: Re: make fails to change directory.
- References: <email@example.com>
- Reply-to: cygwin at cygwin dot com
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`
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html