www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Sun, 25 May 2008 11:32:11 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: make fails to change directory. |
Message-ID: | <20080525153211.GA23854@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> <20080525153027 DOT GA23722 AT ednor DOT casa DOT cgf DOT cx> |
MIME-Version: | 1.0 |
In-Reply-To: | <20080525153027.GA23722@ednor.casa.cgf.cx> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |