From 5763be52aa5d110be5aab12ab23ea99bdd86e3b0 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 15 Oct 2012 17:02:05 -0700 Subject: [PATCH] just output the logfile if there's an error --- scripts/build/run-and-check.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2