mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 13:17:56 +00:00
Use $SHELL instead of hardcoding /bin/bash in the dnahelper.
This commit is contained in:
parent
d9cfc3ed48
commit
bc6681f4d7
@ -53,8 +53,8 @@ setup_dnahelper() {
|
||||
export SID_JOE_F=1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF
|
||||
export SID_ECCLES=1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDE0
|
||||
dnahelper="$TFWTMP/dnahelper"
|
||||
cat >"$dnahelper" <<'EOF'
|
||||
#!/bin/bash
|
||||
echo "#\!$SHELL" >"$dnahelper"
|
||||
cat >>"$dnahelper" <<'EOF'
|
||||
echo STARTED
|
||||
while read line
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user