Use $SHELL instead of hardcoding /bin/bash in the dnahelper.

This commit is contained in:
Daniel O'Connor 2012-09-06 16:37:41 +09:30
parent d9cfc3ed48
commit bc6681f4d7

View File

@ -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