On Wed, 2008-05-07 at 08:29 +0200, Matthieu Moy wrote:
Junio C Hamano [off-list ref] writes:
quoted
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".
Hmm. I would have just done "$ cat ~/test.sh" and
then shown the file listing directly.
jdl