From cb24e80c3da92a80fc07016cf23d86f4adcf5fa8 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 13 Jan 2009 09:22:19 +0000 Subject: [PATCH] Compress the file passed as the third argument before attaching it to the outgoing e-mail. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8948 --- nightly/conf/georgia-tech-cellbuzz-native.sendmail | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nightly/conf/georgia-tech-cellbuzz-native.sendmail b/nightly/conf/georgia-tech-cellbuzz-native.sendmail index 55aa351e97..3720e0e6d0 100755 --- a/nightly/conf/georgia-tech-cellbuzz-native.sendmail +++ b/nightly/conf/georgia-tech-cellbuzz-native.sendmail @@ -1,13 +1,15 @@ #!/bin/sh # use: georgia-tech-cellbuzz.sendmail subject file-to-mail [file-to-attach] -# Don't forget to set the from and realname variables in ~/.muttrc ! +# Don't forget to set the variables 'from' and 'realname' in ~/.muttrc ! sender="bart.vanassche@gmail.com" -recipients="valgrind-developers@lists.sourceforge.net bart.vanassche@gmail.com" +recipients="valgrind-developers@lists.sourceforge.net" #recipients="bart.vanassche@gmail.com" if [ $# -ge 3 ]; then - mutt -s "$1" -a "$3" ${recipients} < "$2" + gzip -9 <"$3" >"$3.gz" + mutt -s "$1" -a "$3.gz" ${recipients} < "$2" + rm -f "$3.gz" else mutt -s "$1" ${recipients} < "$2" fi -- 2.47.3