SHELL is not set by the shell, use BASH which is set by bash.

This commit is contained in:
Daniel O'Connor 2012-09-06 17:19:51 +09:30
parent 9f22073ab6
commit 7a06f55078
2 changed files with 4 additions and 4 deletions

View File

@ -67,7 +67,7 @@ if [ $SYSTYPE = "SunOS" ]; then
SED=gsed
GREP=ggrep
fi
echo "BASH is $BASH"
if [ $SYSTYPE = "Linux" ]; then
# Get nanosecond resolution
TSFMT='+%Y-%m-%d %H:%M:%S.%N'

View File

@ -53,7 +53,7 @@ setup_dnahelper() {
export SID_JOE_F=1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF
export SID_ECCLES=1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDE0
dnahelper="$TFWTMP/dnahelper"
echo "#\!$SHELL" >"$dnahelper"
echo "#\!$BASH" >"$dnahelper"
cat >>"$dnahelper" <<'EOF'
echo STARTED
while read line
@ -231,8 +231,8 @@ setup_ExecArg1() {
setup_servald
assert_no_servald_processes
dnahelper="$TFWTMP/dnahelper"
cat >"$dnahelper" <<'EOF'
#!/bin/sh
echo "#\!$BASH" >"$dnahelper"
cat >>"$dnahelper" <<'EOF'
echo STARTED
while read line
do