From 4e2566c933b688ccd38bfeadc7b48b8a51f6b87c Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 2 Jan 2002 13:17:04 +0000 Subject: [PATCH] nummerierte commits --- scripts/cvsuser/commit-source.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/cvsuser/commit-source.sh b/scripts/cvsuser/commit-source.sh index 588f9cade..11518142b 100755 --- a/scripts/cvsuser/commit-source.sh +++ b/scripts/cvsuser/commit-source.sh @@ -5,7 +5,8 @@ NEWFILE="/tmp/commit.source.$$" OLDFILE="/tmp/commit.source.last" BUILDNO=0 -BUILDFILE="/home/cvs/.build/eressea-source" +BUILDLOG="/home/cvs/.build/eressea-source.log" +BUILDFILE="/home/cvs/.build/eressea-source.no" if [ -e $BUILDFILE ]; then BUILDNO=`cat $BUILDFILE` fi @@ -26,6 +27,12 @@ echo "Old md5sum=$OLDMD5" if [ $NEWMD5 != $OLDMD5 ]; then let BUILDNO=$BUILDNO+1 echo $BUILDNO >| $BUILDFILE + ( + echo + echo -n "[commit $BUILDNO] $WHO" + date + cat $NEWFILE + ) >> $BUILDLOG mailx -s "[commit $BUILDNO] eressea-source by $WHO" $NOTIFY < $NEWFILE echo "New log message. Sent out notification" else