From: Don Armstrong Date: Tue, 16 Oct 2012 00:02:05 +0000 (-0700) Subject: just output the logfile if there's an error X-Git-Tag: debian/2.16.2-2~2^2~5 X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=5763be52aa5d110be5aab12ab23ea99bdd86e3b0;p=lilypond.git just output the logfile if there's an error --- diff --git a/scripts/build/run-and-check.sh b/scripts/build/run-and-check.sh index eb76aa7b40..af31f168f3 100755 --- a/scripts/build/run-and-check.sh +++ b/scripts/build/run-and-check.sh @@ -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