From: Mark Huang Date: Thu, 16 Mar 2006 16:38:43 +0000 (+0000) Subject: - tail the last 8k instead of 100 lines of output so that build messages X-Git-Tag: planetlab-3_3-branch-point~8 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9189173ab7eebfc4bfe2c91bea2991dad9e1b052;p=build.git - tail the last 8k instead of 100 lines of output so that build messages don't get held for moderation --- diff --git a/build.sh b/build.sh index 09d3bce7..ded1378b 100755 --- a/build.sh +++ b/build.sh @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2003-2005 The Trustees of Princeton University # -# $Id: build.sh,v 1.31 2005/05/04 21:47:29 mlhuang Exp $ +# $Id: build.sh,v 1.32 2006/03/08 21:51:08 mlhuang Exp $ # # Set defaults @@ -94,7 +94,7 @@ rc=$? if [ $rc -ne 0 ] ; then # Notify recipient of failure if [ -n "$MAILTO" ] ; then - tail -100 ${BASE}/log | mail -s "Failures for ${BASE}" $MAILTO + tail -c 8k ${BASE}/log | mail -s "Failures for ${BASE}" $MAILTO fi exit $rc fi