29 |
|
CVS2CLPATH="/home/sites/www.i-scream.org.uk/bin/cvs2cl2.pl" |
30 |
|
|
31 |
|
# command line args for cvs2cl |
32 |
< |
CVS2CLARGS="-w -r -b -t -U ${CVSROOT}/CVSROOT/users -l \"-dyesterday<today\" -g \"-d${CVSROOT}\" -g \"-Q\"" |
32 |
> |
#CVS2CLARGS="-w -r -b -t -U ${CVSROOT}/CVSROOT/users -l \"-dyesterday<today\" -g \"-d${CVSROOT}\" -g \"-Q\"" |
33 |
> |
CVS2CLARGS="--no-wrap --no-common-dir -w -r -t -S -U ${CVSROOT}/CVSROOT/users -l \"-dyesterday<today\" -g \"-d${CVSROOT}\" -g \"-Q\"" |
34 |
|
|
35 |
|
# cvs2cl command |
36 |
|
CVS2CL="${CVS2CLPATH} ${CVS2CLARGS}" |
46 |
|
|
47 |
|
# cvslog webpage for this day :) |
48 |
|
DATE=`/bin/date --date="1 day ago" "+%Y/%m/%d"` |
49 |
< |
CVSLOGURL="http://www.i-scream.org.uk/cgi-bin/cvslog.cgi?period=date&date=${DATE}" |
50 |
< |
CVSLOGLINE="Viewable online at ${CVSLOGURL}" |
49 |
> |
CVSLOGURL="http://www.i-scream.org.uk/cgi-bin/cvslog.cgi?period=date&date=${DATE}&module=" |
50 |
> |
CVSLOGLINE="This log is viewable online at ${CVSLOGURL}" |
51 |
|
|
52 |
|
## code |
53 |
|
|
54 |
< |
${FULLCVSUPDATE} |
54 |
> |
${FULLCVSUPDATE} >/dev/null 2>&1 |
55 |
|
|
56 |
|
MODULES=`ls ${CVSROOT}` |
57 |
|
|
62 |
|
${CVS2CL} ${MODULE} |
63 |
|
if test -r "ChangeLog"; then \ |
64 |
|
( echo "To: ${TOADDR}"; echo "From: ${FROMADDR}"; \ |
65 |
< |
echo "Subject: ${SUBJECT}${MODULE}"; echo ${CVSLOGLINE}\ |
66 |
< |
echo; cat ChangeLog; \ |
65 |
> |
echo "Subject: ${SUBJECT}${MODULE}"; echo ${CVSLOGLINE}${MODULE}; \ |
66 |
> |
echo; echo; cat ChangeLog; \ |
67 |
|
echo "." ) | ${SENDMAIL} ${TOADDR}; \ |
68 |
|
rm -f ChangeLog |
69 |
|
fi; |