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-ready: $ dash -x ./easy-build.sh -h + set -e + export CF=CONF.sh + . CONF.sh .: 1: CONF.sh: not foundI'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 docs...
dot should look after PATH, see POSIX: http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#dot so dash is correcter. ciao cate