Create #! line correctly (no need to escape !).

Many more tests pass now.
This commit is contained in:
Daniel O'Connor 2012-09-07 15:42:20 +09:30
parent 741ffd0d2d
commit f8d5b066c0

View File

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