This commit is contained in:
Olivier Sirol 2002-05-06 13:39:02 +00:00
parent 62de842f6e
commit 7d4585f51f
1 changed files with 6 additions and 9 deletions

View File

@ -4,11 +4,11 @@
# Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr> # Copyright (C) 1999, 2000 Czo <Olivier.Sirol@lip6.fr>
# License: GPL (http://www.gnu.org/copyleft/gpl.html) # License: GPL (http://www.gnu.org/copyleft/gpl.html)
# Started: Sept 1999 # Started: Sept 1999
# Last Change: Monday 06 May 2002, 15:29 # Last Change: Monday 06 May 2002, 15:38
# Edit Time: 1:42:05 # Edit Time: 1:45:15
# Description: # Description:
# #
# $Id: posttaginfo,v 1.1 2002/05/06 13:30:21 czo Exp $ # $Id: posttaginfo,v 1.2 2002/05/06 13:39:02 czo Exp $
# #
# #
# The arguments passed to the command are, in order, # The arguments passed to the command are, in order,
@ -19,13 +19,12 @@
# A non-zero exit of the filter program will cause the tag to be aborted. # A non-zero exit of the filter program will cause the tag to be aborted.
# #
TMPFILE=cvslog.$$ TMPFILE=cvslog.$$
FINGER=`who am i | gawk '{gsub(/^[^\!]*\!/,""); print $1}'` FINGER=`who am i | gawk '{gsub(/^[^\!]*\!/,""); print $1}'`
MAIL_SUBJECT=`echo "CVS taginfo, $1` MAIL_SUBJECT="CVS taginfo $1"
( (
echo "===================================================================" (echo "==================================================================="
echo "TAG : `date`" echo "TAG : `date`"
echo "Par : $USER" echo "Par : $USER"
echo "===================================================================" echo "==================================================================="
@ -34,9 +33,7 @@ echo "$2 of $1 in $3"
shift shift
shift shift
shift shift
echo "$*" echo "$*" ) > "$TMPFILE"
) > "$TMPFILE"
cat "$TMPFILE" | mail -s "ALC : $MAIL_SUBJECT" alliance-programmers@asim.lip6.fr cat "$TMPFILE" | mail -s "ALC : $MAIL_SUBJECT" alliance-programmers@asim.lip6.fr