1 subject="$1" 2 summary="$2" 3 diffs="$3" 4 5 # Note this drops the mail as file to be picked up by another script 6 # that will actually sent it (this machine cannot directly sent email). 7 MAILFILE="$HOME/valgrind-results/$(date +%d-%b-%Y.%R)" 8 9 echo "Subject: $subject" >> $MAILFILE 10 echo "To: valgrind-testresults (a] lists.sourceforge.net" >> $MAILFILE 11 echo "Bcc: valgrind (a] wildebeest.org" >> $MAILFILE 12 echo " " >> $MAILFILE 13 cat "$summary" >> $MAILFILE 14 echo " " >> $MAILFILE 15 cat "$diffs" >> $MAILFILE 16 17 MAILLATEST="$HOME/valgrind-results/latest" 18 rm -f $MAILLATEST 19 ln -s $MAILFILE $MAILLATEST 20