From: Jan-Benedict G. <jb...@us...> - 2005-12-21 15:36:16
|
Update of /cvsroot/linux-vax/toolchain/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22940 Modified Files: run_test_build.sh Log Message: - Rework email sending code to not generate header lines, but use for footnote instead. Index: run_test_build.sh =================================================================== RCS file: /cvsroot/linux-vax/toolchain/scripts/run_test_build.sh,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- run_test_build.sh 21 Dec 2005 08:42:29 -0000 1.15 +++ run_test_build.sh 21 Dec 2005 15:36:08 -0000 1.16 @@ -40,12 +40,16 @@ # $1: Subject # function send_stdin() { - STOP_TIME="`date --utc '+%Y%m%d-%H%M%S'`" - mail -a "X-Build-Robot-Id: ${I_AM}, version${VERSION} running on `hostname`" \ - -a "X-Build-Robot-Target: ${TARGET}" \ - -a "X-Build-Robot-Start: ${START_TIME} UTC" \ - -a "X-Build-Robot-Stop: ${STOP_TIME} UTC" \ - -s "$1" ${SEND_MAIL_TO} + STOP_TIME="`date -u '+%Y%m%d-%H%M%S'`" + ( + cat + echo "-- " + echo "X-Build-Robot-Id: ${I_AM}, version${VERSION} running on `hostname`" + echo "X-Build-Robot-Target: ${TARGET}" + echo "X-Build-Robot-Start: ${START_TIME} UTC" + echo "X-Build-Robot-Stop: ${STOP_TIME} UTC" + echo "" + ) | mail -s "$1" ${SEND_MAIL_TO} } function lock_down() { |