mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-21 14:07:53 +00:00
SHELL is not set by the shell, use BASH which is set by bash.
This commit is contained in:
parent
9f22073ab6
commit
7a06f55078
@ -67,7 +67,7 @@ if [ $SYSTYPE = "SunOS" ]; then
|
|||||||
SED=gsed
|
SED=gsed
|
||||||
GREP=ggrep
|
GREP=ggrep
|
||||||
fi
|
fi
|
||||||
|
echo "BASH is $BASH"
|
||||||
if [ $SYSTYPE = "Linux" ]; then
|
if [ $SYSTYPE = "Linux" ]; then
|
||||||
# Get nanosecond resolution
|
# Get nanosecond resolution
|
||||||
TSFMT='+%Y-%m-%d %H:%M:%S.%N'
|
TSFMT='+%Y-%m-%d %H:%M:%S.%N'
|
||||||
|
@ -53,7 +53,7 @@ setup_dnahelper() {
|
|||||||
export SID_JOE_F=1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF
|
export SID_JOE_F=1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF
|
||||||
export SID_ECCLES=1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDE0
|
export SID_ECCLES=1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDE0
|
||||||
dnahelper="$TFWTMP/dnahelper"
|
dnahelper="$TFWTMP/dnahelper"
|
||||||
echo "#\!$SHELL" >"$dnahelper"
|
echo "#\!$BASH" >"$dnahelper"
|
||||||
cat >>"$dnahelper" <<'EOF'
|
cat >>"$dnahelper" <<'EOF'
|
||||||
echo STARTED
|
echo STARTED
|
||||||
while read line
|
while read line
|
||||||
@ -231,8 +231,8 @@ setup_ExecArg1() {
|
|||||||
setup_servald
|
setup_servald
|
||||||
assert_no_servald_processes
|
assert_no_servald_processes
|
||||||
dnahelper="$TFWTMP/dnahelper"
|
dnahelper="$TFWTMP/dnahelper"
|
||||||
cat >"$dnahelper" <<'EOF'
|
echo "#\!$BASH" >"$dnahelper"
|
||||||
#!/bin/sh
|
cat >>"$dnahelper" <<'EOF'
|
||||||
echo STARTED
|
echo STARTED
|
||||||
while read line
|
while read line
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user