]> git.donarmstrong.com Git - lilypond.git/commitdiff
just output the logfile if there's an error
authorDon Armstrong <don@donarmstrong.com>
Tue, 16 Oct 2012 00:02:05 +0000 (17:02 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 16 Oct 2012 00:02:05 +0000 (17:02 -0700)
scripts/build/run-and-check.sh

index eb76aa7b4008b0ab29acd932710d401f3d4fed04..af31f168f38ea5f52e97cd4c312c2f36f12a1418 100755 (executable)
@@ -7,7 +7,8 @@ eval $1 > $2 2>&1
 RetVal=$?  # captures the return value of the command
 if [ $RetVal -ne 0 ]; then
        echo
-       echo "Please check the logfile" $2 "for errors"
+       echo "Please check the logfile" $2 "for errors:"
+       cat $2
        echo
 fi
 exit $RetVal