mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +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
|
||||
GREP=ggrep
|
||||
fi
|
||||
|
||||
echo "BASH is $BASH"
|
||||
if [ $SYSTYPE = "Linux" ]; then
|
||||
# Get nanosecond resolution
|
||||
TSFMT='+%Y-%m-%d %H:%M:%S.%N'
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user