40 lines
899 B
Bash
Executable File
40 lines
899 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.5 1999/09/16 18:30:35 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"
|
|
|
|
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
|
|
|