#! /bin/sh # # Author : Olivier.Sirol@lip6.fr # Date : sept 1999 # Description : # # (C) Czo 1998,99 # This code is released under GPL # # $Id: postconfig,v 1.6 1999/09/17 17:42:17 czo Exp $ # PATH=/asim/gnu/bin:/usr/ucb:/usr/etc:/bin:${PATH} TMPFILE=/tmp/cvslog.$$ FINGER=`who am i | gawk '{gsub(/^[^!]*!/,""); print $1}'` ( echo "====================================================================" echo "Modification le : `date`" echo "Par : $FINGER" echo "====================================================================" echo "" cat ) > "$TMPFILE" cat "$TMPFILE" >> $CVSROOT/CVSROOT/log-commit cat "$TMPFILE" | mail -s "ALC : CVS loginfo" alliance-programmers@asim.lip6.fr #chgrp -R alliance /users/outil1/alliance/cvsroot cd /users/outil1/alliance/latest cvs -q update -d #chgrp -R alliance /users/outil1/alliance/latest rm -f "$TMPFILE" dummy exit 0