aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Allen <[email protected]>2016-04-19 21:27:15 -0500
committerMark Allen <[email protected]>2016-04-19 21:27:15 -0500
commitef7b54dd8f94dc682d7ad10c88f3c149ca00bfa0 (patch)
tree383b6443243cef6101216381d03a7e4ca68508eb
parentf6c5120fabfd7c989380a0b4443651c35a3bf950 (diff)
downloadkerl-ef7b54dd8f94dc682d7ad10c88f3c149ca00bfa0.tar.gz
kerl-ef7b54dd8f94dc682d7ad10c88f3c149ca00bfa0.tar.bz2
kerl-ef7b54dd8f94dc682d7ad10c88f3c149ca00bfa0.zip
If a build fails, tail the logfile automatically
-rwxr-xr-xkerl5
1 files changed, 4 insertions, 1 deletions
diff --git a/kerl b/kerl
index 93103db..5b1b8f8 100755
--- a/kerl
+++ b/kerl
@@ -421,7 +421,10 @@ do_build()
fi
if [ $? -ne 0 ]; then
- echo "Build failed, see $LOGFILE"
+ echo "Build failed:"
+ tail $LOGFILE
+ echo
+ echo "Please see $LOGFILE for full details."
list_remove builds "$1 $2"
exit 1
fi