From 9189173ab7eebfc4bfe2c91bea2991dad9e1b052 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Thu, 16 Mar 2006 16:38:43 +0000 Subject: [PATCH] - tail the last 8k instead of 100 lines of output so that build messages don't get held for moderation --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.0