Junio C Hamano [off-list ref] writes:
quoted
+------------
+echo "#"\!"/bin/sh" > ~/test.sh
+echo "make install || exit 125" >> ~/test.sh
+echo "~/check_test_case.sh" >> ~/test.sh
+chmod u+x ~/test.sh
s/install//; let's not set a bad example of installing first and then
testing.
Perhaps also s/~/./g, since it's not a good idea to put temporary
files in $HOME IMHO.
Also, using simple quotes instead of double would simplify the
"#"\!"/bin/sh".
--
Matthieu