This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: #!/bin/sh troubles
- To: gnu-win32 at cygnus dot com
- Subject: Re: #!/bin/sh troubles
- From: Christopher Seawood <cseawood at qualcomm dot com>
- Date: Mon, 28 Dec 1998 14:52:14 -0800 (PST)
On Mon, 7 Dec 1998, it was written:
>
> I copied b20.1's sh.exe to /bin/sh and cp removed the execute permissions.
> Chmod'ing the binary did not work either. So I moved /bin/sh to
> /bin/sh.exe. Autoconf runs and spits 6 lines of control chars, each
> ending with ": not found". Then it spits out
> /bin/sh.exe: 11: Syntax error: ")" unexpected.
>
Well, I was playing with the problem again today when I accidentally
typed: sh /bin/sh.exe . And surprise, I got the same 6 lines of control
chars so could it be that sh is attempting to run itself instead of the
shell script that calls it when I try to run just ./configure or autoconf?
Regards,
Christopher
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".