alliance/CVSROOT/postconfig

44 lines
967 B
Bash
Executable File

#! /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.8 1999/09/20 15:04:45 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
# find cvsroot -type d | xargs chmod g+s
# devrait marcher...
#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