[PD-cvs] scripts/auto-build mail-mingw-log-hack.sh, 1.3, 1.4 run-automated-builder, 1.20, 1.21

IOhannes m zmölnig zmoelnig at users.sourceforge.net
Tue Nov 27 21:49:24 CET 2007


Update of /cvsroot/pure-data/scripts/auto-build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29220

Modified Files:
	mail-mingw-log-hack.sh run-automated-builder 
Log Message:
only send emails if RECIPIENT is defined



Index: run-automated-builder
===================================================================
RCS file: /cvsroot/pure-data/scripts/auto-build/run-automated-builder,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** run-automated-builder	27 Nov 2007 03:03:40 -0000	1.20
--- run-automated-builder	27 Nov 2007 20:49:22 -0000	1.21
***************
*** 37,42 ****
--- 37,44 ----
  	 completion_test=`tail -1 ${LOGFILE}`
  	 if [ "x${completion_test}" != "xSUCCESS" ]; then
+ 		if [ "x${RECIPIENT}" != "x" ]; then
  		  SUBJECT="autobuild: $distro $HOSTNAME $DATE $TIME"
  		  tail -20 ${LOGFILE} | mail -s "${SUBJECT}" ${RECIPIENT}
+ 		fi
  	 fi
  }

Index: mail-mingw-log-hack.sh
===================================================================
RCS file: /cvsroot/pure-data/scripts/auto-build/mail-mingw-log-hack.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** mail-mingw-log-hack.sh	22 Oct 2007 22:41:47 -0000	1.3
--- mail-mingw-log-hack.sh	27 Nov 2007 20:49:22 -0000	1.4
***************
*** 12,17 ****
--- 12,19 ----
  	 completion_test=`tail -1 ${logfile}`
  	 if [ "x${completion_test}" != "xSUCCESS" ]; then
+ 		if [ "x${RECIPIENT}" != "x" ]; then
  		  SUBJECT="autobuild: $distro $HOSTNAME $DATE $TIME"
  		  tail -20 ${logfile} | mail -s "autobuild: $logfile" ${RECIPIENT}
+ 		fi
  	 fi
  done





More information about the Pd-cvs mailing list