Update of /cvsroot/tcltomcrypt/CVSROOT
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv4421
Modified Files:
mail-tag.sh
Log Message:
Testing -- trying to get CVS posttag working
Index: mail-tag.sh
===================================================================
RCS file: /cvsroot/tcltomcrypt/CVSROOT/mail-tag.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- mail-tag.sh 31 Jan 2007 13:44:51 -0000 1.4
+++ mail-tag.sh 31 Jan 2007 13:49:58 -0000 1.5
@@ -5,11 +5,18 @@
# $4 -- operation "add" for tag, "mov" for tag -F, and "del" for tag -d
# $5 -- repository
# $6-> file revision [file revision ...]
+MY_USERNAME=$1
+MY_EMAIL=$2
+MY_TAGNAME=$3
+MY_OPERATION=$4
+MY_REPOSITORY=$5
+shift 5
+
(echo "";
- echo -n "$1 ";
+ echo -n "$MY_USERNAME ";
date;
echo;
- echo "TAG $4 $3 on $5";
+ echo "TAG $MY_OPERATION $MY_TAGNAME on $MY_REPOSITORY";
echo;
- cat) | /bin/mail -s "$1 TAG $4 $3" $2
-
+ echo $@;
+ cat) | /bin/mail -s "$MY_USERNAME TAG $MY_OPERATION $MY_TAGNAME" $MY_EMAIL
|