Update of /cvsroot/pure-data/scripts/auto-build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv829
Modified Files: run-automated-builder Log Message: added success test so that it only send the email on failure
Index: run-automated-builder =================================================================== RCS file: /cvsroot/pure-data/scripts/auto-build/run-automated-builder,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** run-automated-builder 8 Aug 2006 14:38:38 -0000 1.6 --- run-automated-builder 9 Aug 2006 15:03:33 -0000 1.7 *************** *** 16,22 **** su pd -c "sh /home/pd/auto-build/${distro}/scripts/auto-build/${distro}-auto-builder.sh" >> $LOGFILE 2>&1
! # send status report ! SUBJECT="$HOSTNAME Pd-$SYSTEM $distro build results $DATE $TIME" ! tail -200 ${LOGFILE} | mail -s "${SUBJECT}" hans@eds.org }
--- 16,25 ---- su pd -c "sh /home/pd/auto-build/${distro}/scripts/auto-build/${distro}-auto-builder.sh" >> $LOGFILE 2>&1
! # send status report if something failed ! completion_test=`tail -1 ${LOGFILE}` ! if [ "x${completion_test}" != "xSUCCESS" ]; then ! SUBJECT="$HOSTNAME Pd-$SYSTEM $distro build results $DATE $TIME" ! tail -200 ${LOGFILE} | mail -s "${SUBJECT}" hans@eds.org ! fi }