delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/26/16:09:02

From: vott AT frank DOT de (Victor Ott)
Subject: Re: B20: Changes in #! execution
26 Nov 1998 16:09:02 -0800 :
Message-ID: <365D69F6.6F342347.cygnus.gnu-win32@frank.de>
References: <19981124150945 DOT 42091 AT tc DOT fluke DOT com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Warren Jones wrote:
> I've noticed two changes in how scripts starting with "#!" are
> handled in B20:
>     1. This no longer works:
>            #! /bin/sh
>        ... if "/bin/sh.exe" is a symbolic link.  I found
[...]
>     2. Something like this no longer works:
>            #! perl
>        The interpreter (e.g. "perl") must now be specified
>        with a full path:  Cygwin will no longer use $PATH
[...]

B20, NT4SP3
I have the same problem. Lots of code (in makefiles) like
        ./$(CODE_DIR)/gen_oem_beam.sh $@
has to be changed to
        bash ./$(CODE_DIR)/gen_oem_beam.sh $@
or
I have to specify the full path to the command interpreter in the shebang.

Really thinking to switch back to B19.

Thanks for any help,
Victor
-
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