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:
parent
13efab326f
commit
dcee211388
9 changed files with 25 additions and 25 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue