X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sun, 25 May 2008 11:30:27 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: make fails to change directory. Message-ID: <20080525153027.GA23722@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3948f0730805250207sbe2860bhc8648946cdc7c1ca AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3948f0730805250207sbe2860bhc8648946cdc7c1ca@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 " > >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` 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/