delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/01/17/05:02:07

Date: Sun, 17 Jan 1999 12:00:09 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: DJ Delorie <dj AT delorie DOT com>
cc: djgpp-workers AT delorie DOT com, snowball3 AT usa DOT net
Subject: Re: autoconf 2.13 test version available
In-Reply-To: <199901141543.KAA06930@envy.delorie.com>
Message-ID: <Pine.SUN.3.91.990117115947.278D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

On Thu, 14 Jan 1999, DJ Delorie wrote:

> > 	'#! C:/DJGPP/BIN/bash.exe' is first line in script. So scripts
> 
> Try just #!bash and see if it works - I think djgpp checks the PATH
> and doesn't require the full path.

#!bash should work, but the question is: is it portable enough?

#!/bin/bash is probably not good enough, either, but what about
#!/usr/local/bin/bash?

In any case, unless the script indeed *requires* Bash (which i don't
think it does), I suggest to use #!/bin/sh, which is much more
portable.

- Raw text -


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