[PD-cvs] scripts/auto-build mail-mingw-log-hack.sh,NONE,1.1

Hans-Christoph Steiner eighthave at users.sourceforge.net
Mon Oct 22 23:40:21 CEST 2007


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

Added Files:
	mail-mingw-log-hack.sh 
Log Message:
first stab at making a script to mail the MinGW build logs from the auto-build web server

--- NEW FILE: mail-mingw-log-hack.sh ---
#!/bin/sh


# the source dir where this script is
SCRIPT_DIR=`echo $0 | sed 's|\(.*\)/.*$|\1|'`
. $SCRIPT_DIR/auto-build-common

# the name of this script
SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`

for logfile in `ls -1 /home/pd/logs/${DATE}_*_mingw*.txt`; do
	 completion_test=`tail -1 ${logfile}`
	 if [ "x${completion_test}" != "xSUCCESS" ]; then
		  SUBJECT="autobuild: $distro $HOSTNAME $DATE $TIME"
#		  tail -20 ${logfile} | mail -s "autobuild: $logfile" ${RECIPIENT}
		  tail -20 ${logfile} | mail -s "autobuild: $logfile" hans at eds.org
	 fi
done





More information about the Pd-cvs mailing list