This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: make-3.79.1: /bin/sh.exe: Command not found


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.
>[snip]
>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:

http://www.cygwin.com/ml/cygwin/2001-03/msg00596.html

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.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]