Mail Archives: djgpp-workers/1999/01/17/05:02:07
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 -