diff options
author | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-01-13 09:22:19 +0000 |
---|---|---|
committer | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-01-13 09:22:19 +0000 |
commit | 4e8224b52e7cefff09db6846d17e1286b26d6a10 (patch) | |
tree | 4608285a02d42012a85ec73b6cb7aa7f6cbef00b /nightly | |
parent | 7f8cd308d3c7427c0d9f52164c078df5fd757f50 (diff) |
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 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'nightly')
-rwxr-xr-x | nightly/conf/georgia-tech-cellbuzz-native.sendmail | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nightly/conf/georgia-tech-cellbuzz-native.sendmail b/nightly/conf/georgia-tech-cellbuzz-native.sendmail index 55aa351e..3720e0e6 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 |