- tail the last 8k instead of 100 lines of output so that build messages
authorMark Huang <mlhuang@cs.princeton.edu>
Thu, 16 Mar 2006 16:38:43 +0000 (16:38 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Thu, 16 Mar 2006 16:38:43 +0000 (16:38 +0000)
  don't get held for moderation

build.sh

index 09d3bce..ded1378 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -7,7 +7,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # 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