delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/28/16:49:31

From: cseawood AT qualcomm DOT com (Christopher Seawood)
Subject: Re: #!/bin/sh troubles
28 Dec 1998 16:49:31 -0800 :
Message-ID: <Pine.LNX.4.05.9812281449390.3134-100000.cygnus.gnu-win32@cseawood.qualcomm.com>
References: <Pine DOT LNX DOT 4 DOT 05 DOT 9812071345480 DOT 22256-100000 AT cseawood DOT qualcomm DOT com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019