Updated kernel version 2.6.27.30 to 2.6.27.31.
[mirror/scst/.git] / nightly / conf / cellbuzz.sendmail
1 #!/bin/sh
2
3 # usage: $0 subject file-to-mail [file-to-attach]
4 # Don't forget to set the variables 'from' and 'realname' in ~/.muttrc !!
5
6 recipients="scst-devel@lists.sourceforge.net"
7 #recipients="bart.vanassche@gmail.com"
8 if [ $# -ge 3 ]; then
9   gzip -9 <"$3" >"$3.gz"
10   mutt -s "$1" -a "$3.gz" ${recipients} < "$2"
11   rm -f "$3.gz"
12 else
13   mutt -s "$1" ${recipients} < "$2"
14 fi