mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
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
This commit is contained in:
parent
06ee727a0e
commit
cb24e80c3d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user