From: Jan-Benedict G. <jb...@us...> - 2005-12-17 17:23:54
|
Update of /cvsroot/linux-vax/toolchain/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26316 Modified Files: run_test_build.sh Log Message: - A subject instead of several trashy email addresses is preferred... Index: run_test_build.sh =================================================================== RCS file: /cvsroot/linux-vax/toolchain/scripts/run_test_build.sh,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- run_test_build.sh 17 Dec 2005 13:11:05 -0000 1.6 +++ run_test_build.sh 17 Dec 2005 17:23:45 -0000 1.7 @@ -24,14 +24,18 @@ I_AM="Nemo" VERSION="$Revision$" +START_TIME="`date --utc`" # # $1: Subject # function send_stdin() { + STOP_TIME="`date --utc`" mail -a "X-Build-Robot-Id: ${I_AM}, version${VERSION} running on `hostname`" \ - -a "X-Build-Robot-Target: ${TARGET}" \ - "$1" ${SEND_MAIL_TO} + -a "X-Build-Robot-Target: ${TARGET}" \ + -a "X-Build-Robot-Start: ${START_TIME}" \ + -a "X-Build-Robot-Stop: ${STOP_TIME}" \ + -s "$1" ${SEND_MAIL_TO} } function lock_down() { |