delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
X-Authentication-Warning: | hp2.xraylith.wisc.edu: khan owned process doing -bs |
Date: | Wed, 21 Feb 2001 22:08:36 -0600 (CST) |
From: | Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: sh.exe: Command not found |
In-Reply-To: | <20010221223819.A8880@redhat.com> |
Message-ID: | <Pine.HPP.3.96.1010221220334.20219I-100000@hp2.xraylith.wisc.edu> |
MIME-Version: | 1.0 |
On Wed, 21 Feb 2001, Christopher Faylor wrote: > Well, you have both renamed it and moved it to a nonstandard location. > I wonder if that is your problem. Usually sh.exe is expected to be in > the standard /bin location. Does /bin/sh.exe exist? Actually, Cygwin port of GNU make uses sh.exe as the default SHELL variable unlike the other Unix ports' /bin/sh. Which means that if sh.exe is not in the PATH, then it won't work. Of course, the solution is trivial: $ make SHELL=/path/to/sh.exe ... Try the following to check: $ cat foo.mak all: @echo "SHELL = $(SHELL)" @$(SHELL) -c "echo SHELLOPTS = $$SHELLOPTS" $ make -f foo.mak SHELL = sh.exe sh.exe -c "echo SHELLOPTS = $SHELLOPTS" SHELLOPTS = $ make SHELL=bash -f foo.mak SHELL = bash bash -c "echo SHELLOPTS = $SHELLOPTS" SHELLOPTS = braceexpand:hashall:interactive-comments Remember running into this issue before Cygwin adopted the current (and sane!) layout.. Regards, Mumit -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |