1999-09-14 13:15:22 -05:00
|
|
|
|
#! /bin/sh
|
1999-09-16 13:13:15 -05:00
|
|
|
|
#
|
|
|
|
|
# Author : Olivier.Sirol@lip6.fr
|
|
|
|
|
# Date : sept 1999
|
|
|
|
|
# Description :
|
|
|
|
|
#
|
|
|
|
|
# (C) Czo 1998,99
|
|
|
|
|
# This code is released under GPL
|
|
|
|
|
#
|
2000-06-15 05:17:22 -05:00
|
|
|
|
# $Id: postconfig,v 1.18 2000/06/15 10:17:22 czo Exp $
|
1999-09-16 13:13:15 -05:00
|
|
|
|
#
|
1999-09-14 13:15:22 -05:00
|
|
|
|
|
|
|
|
|
|
1999-11-22 08:57:40 -06:00
|
|
|
|
PATH=/asim/gnu/bin:/usr/ucb:/usr/etc:/usr/local/bin:/bin:/usr/bin:${PATH}
|
1999-09-16 13:07:59 -05:00
|
|
|
|
TMPFILE=/tmp/cvslog.$$
|
1999-11-04 07:36:59 -06:00
|
|
|
|
FINGER=`who am i | gawk '{gsub(/^[^\!]*\!/,""); print $1}'`
|
1999-09-16 13:07:59 -05:00
|
|
|
|
|
|
|
|
|
(
|
1999-09-16 13:25:01 -05:00
|
|
|
|
echo "===================================================================="
|
1999-09-16 13:07:59 -05:00
|
|
|
|
echo "Modification le : `date`"
|
|
|
|
|
echo "Par : $FINGER"
|
1999-09-16 13:30:35 -05:00
|
|
|
|
echo "===================================================================="
|
1999-09-16 13:07:59 -05:00
|
|
|
|
echo ""
|
|
|
|
|
cat
|
1999-09-24 07:13:45 -05:00
|
|
|
|
echo ""
|
1999-09-24 07:10:43 -05:00
|
|
|
|
echo "===================================================================="
|
1999-09-24 07:23:46 -05:00
|
|
|
|
echo "Ce message est envoy<6F> au personnes abonn<6E>es <20> alliance-programmers"
|
1999-09-24 07:10:43 -05:00
|
|
|
|
echo "Pour plus d'information sur cette mailling-list, visitez :"
|
|
|
|
|
echo "http://www-asim.lip6.fr/alliance/mailing-lists/"
|
|
|
|
|
|
1999-09-16 13:07:59 -05:00
|
|
|
|
) > "$TMPFILE"
|
1999-09-14 13:15:22 -05:00
|
|
|
|
|
1999-09-21 10:58:38 -05:00
|
|
|
|
MAIL_SUBJECT=`cat "$TMPFILE" | gawk '
|
2000-06-15 05:17:22 -05:00
|
|
|
|
/Update of \/users\/outil\/alliance\/cvsroot\// {
|
|
|
|
|
gsub(/Update of \/users\/outil\/alliance\/cvsroot\//, "");
|
1999-09-21 10:58:38 -05:00
|
|
|
|
gsub(/alliance\//, "");
|
|
|
|
|
gsub(/share\//, "");
|
|
|
|
|
gsub(/sources\//, "");
|
|
|
|
|
SUJ=$0
|
|
|
|
|
}
|
|
|
|
|
END {
|
|
|
|
|
printf("CVS loginfo, %s", SUJ)
|
|
|
|
|
}'`
|
|
|
|
|
|
1999-09-17 12:42:17 -05:00
|
|
|
|
cat "$TMPFILE" >> $CVSROOT/CVSROOT/log-commit
|
1999-09-21 10:58:38 -05:00
|
|
|
|
cat "$TMPFILE" | mail -s "ALC : $MAIL_SUBJECT" alliance-programmers@asim.lip6.fr
|
1999-09-17 12:42:17 -05:00
|
|
|
|
|
1999-09-17 12:47:08 -05:00
|
|
|
|
|
|
|
|
|
# find cvsroot -type d | xargs chmod g+s
|
|
|
|
|
# devrait marcher...
|
2000-06-15 05:17:22 -05:00
|
|
|
|
# chgrp -R alliance /users/outil/alliance/cvsroot
|
1999-09-24 07:10:43 -05:00
|
|
|
|
# cvs -q update -d -P & en crontab ....
|
1999-09-16 13:07:59 -05:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|