#! /bin/sh 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" chgrp -R alliance /users/outil1/alliance/cvsroot 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 exit 0