[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH 2/4] easy-build.sh: use getopts instead of rolling our own option parsing.

Ian Campbell wrote:
On Fri, 2009-08-07 at 13:33 +0100, Ian Campbell wrote:
I just tried it and it looks like the script is already not
$ dash -x ./easy-build.sh -h
+ set -e
+ export CF=CONF.sh
+ . CONF.sh
.: 1: CONF.sh: not found

I'm no expert but it looks like dash obeys $PATH when executing the ".".
The manpage doesn't mention this behaviour and bash doesn't seem to
follow it but "." is pretty hard to google for so I have looked up the

dot should look after PATH, see POSIX:
so dash is correcter.


Reply to: