alliance/CVSROOT/postconfig

28 lines
553 B
Plaintext
Raw Normal View History

1999-09-14 13:15:22 -05:00
#! /bin/sh
1999-09-16 13:07:59 -05:00
PATH=/asim/gnu/bin:/usr/ucb:/usr/etc:/bin:${PATH}
TMPFILE=/tmp/cvslog.$$
FINGER=`who am i | gawk '{gsub(/^[^!]*!/,""); print $1}'`
(
echo "Modification le : `date`"
echo "Par : $FINGER"
echo ""
cat
) > "$TMPFILE"
1999-09-14 13:15:22 -05:00
chgrp -R alliance /users/outil1/alliance/cvsroot
1999-09-16 13:07:59 -05:00
cd /users/outil1/alliance/latest
cvs -q update -d
chgrp -R alliance /users/outil1/alliance/latest
cat "$TMPFILE" >> $CVSROOT/CVSROOT/log-commit
cat "$TMPFILE" | mail -s "ALC : CVS loginfo" alliance-programmers@asim.lip6.fr
rm -f "$TMPFILE" dummy
1999-09-14 13:15:22 -05:00
1999-09-16 13:07:59 -05:00
exit 0
1999-09-14 13:15:22 -05:00