13 |
|
## settings |
14 |
|
|
15 |
|
# e-mail addresses |
16 |
< |
TOADDR="dev@i-scream.org.uk" |
16 |
> |
TOADDR="commits@i-scream.org.uk" |
17 |
|
FROMADDR="tim@i-scream.org.uk" |
18 |
|
|
19 |
|
# cvs path |
40 |
|
# full cvs update script |
41 |
|
FULLCVSUPDATE="/home/sites/www.i-scream.org.uk/bin/fullcvsupdate.sh" |
42 |
|
|
43 |
+ |
# path to sendmail |
44 |
+ |
SENDMAIL="/usr/sbin/sendmail" |
45 |
|
|
46 |
+ |
|
47 |
|
## code |
48 |
|
|
49 |
|
${FULLCVSUPDATE} |
58 |
|
if test -r "ChangeLog"; then \ |
59 |
|
( echo "To: ${TOADDR}"; echo "From: ${FROMADDR}"; \ |
60 |
|
echo "Subject: ${SUBJECT}${MODULE}"; cat ChangeLog; \ |
61 |
< |
echo "." ) | sendmail ${TOADDR}; \ |
61 |
> |
echo "." ) | ${SENDMAIL} ${TOADDR}; \ |
62 |
|
rm -f ChangeLog |
63 |
|
fi; |
64 |
|
|