[PD-cvs] SF.net SVN: pure-data:[10313] trunk/scripts/auto-build/ run-automated-builder

zmoelnig at users.sourceforge.net zmoelnig at users.sourceforge.net
Sat Sep 27 18:07:24 CEST 2008


Revision: 10313
          http://pure-data.svn.sourceforge.net/pure-data/?rev=10313&view=rev
Author:   zmoelnig
Date:     2008-09-27 16:07:23 +0000 (Sat, 27 Sep 2008)

Log Message:
-----------
try to only mail the lines that actually contain the error

Modified Paths:
--------------
    trunk/scripts/auto-build/run-automated-builder

Modified: trunk/scripts/auto-build/run-automated-builder
===================================================================
--- trunk/scripts/auto-build/run-automated-builder	2008-09-26 16:06:34 UTC (rev 10312)
+++ trunk/scripts/auto-build/run-automated-builder	2008-09-27 16:07:23 UTC (rev 10313)
@@ -15,7 +15,9 @@
 SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
 
 mailbody_on_failure () {
- tail -20 ${LOGFILE}
+ ## this is a somewhat simplistic expression to detect error-lines
+ cat ${LOGFILE} | grep " error: " | tail -20
+# tail -20 ${LOGFILE}
  echo ""
  echo "the full logfile can be viewed at"
  echo "http://autobuild.puredata.info/auto-build/${DATE}/logs/${LOGFILE##*/}"


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list