Re: [PATCH] Use bash for test.sh.
Eitan Adler <[email protected]>
| Newsgroups | gmane.comp.compilers.ccache |
|---|---|
| Message-ID | <CAF6rxg=XK5ftC6gotvwEyn6FbETzvohVtvd9n5zum-R9Lsnrrg@mail.gmail.com> |
On 10 November 2012 00:41, Mike Frysinger <[email protected]> wrote: > ironic considering you're espousing a change to support crap systems that > aren't relevant. I won't comment on this. > if the script is written in bash and is intended to be, then > /bin/bash is the correct answer. Absolutely false. /usr/local/bin or /opt/bin might be the correct location. > if the script is intended to be POSIX shell, > then /bin/sh is the correct answer. Agreed. > using env is just stupid. only if you don't care about portability. POSIX > env > absolute path -- Eitan Adler