This is the mail archive of the
mailing list for the Cygwin project.
Re: make-3.79.1: /bin/sh.exe: Command not found
- To: cygwin at cygwin dot com
- Subject: Re: make-3.79.1: /bin/sh.exe: Command not found
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Wed, 25 Apr 2001 16:18:32 -0400
- References: <firstname.lastname@example.org>
- Reply-To: cygwin at cygwin dot com
yn Wed, Apr 25, 2001 at 03:09:06PM -0400, Shawn Carey wrote:
>The compile-time initialization of "default_shell" (main.c:1134) has changed
>from "sh.exe" in version 3.79 to "/bin/sh.exe" in 3.79.1. The unqualified
>value of "sh.exe" allowed make to find sh.exe using PATH, but "/bin/sh.exe"
>does not exist on my system and is not found by make.
>Was this change intentional? If so, is there some way to get my makefiles
>to run again without copying a shell to /bin or running make with
>"SHELL=sh.exe" on the command line? Any help is greatly appreciated!
The change was intentional:
The ways to "fix" this are:
1) mount -x x:/wheerever/blah/sh.exe /bin/sh
2) cp x:/whereever/blah/sh.exe /bin/sh
3) make SHELL=/cygdrive/x/whereever/blah/sh.exe
4) (echo "SHELL=/cygdrive/x/whereever/blah/sh.exe"; cat Makefile) > m
mv m Makefile
5) Grab the source for make and change it to do whatever you want.
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple