Update shell files to use /bin/bash and POSIX .

bash's earlier problems with subshells running scripts starting #!/bin/bash
seem to be solved, so explicitly mark all scripts as requiring bash.
Furthermore, change all source built-ins to prefix the path with "./" as
required by POSIX. Together these changes should stop further problems
with changes of source built-in semantics in future.
This commit is contained in:
Laurence Withers 2009-04-06 14:13:06 +00:00
commit dcee211388
9 changed files with 25 additions and 25 deletions

View file

@ -33,7 +33,7 @@ cd ${X}
cd $(dirname $0) || exit 1
SCRIPT_ROOT=$(pwd)
source skel/scripts/functions.sh || exit 1
source "./skel/scripts/functions.sh" || exit 1
do_cmd cd ${PROJECT_ROOT} || exit 1