From 6f5e6e47682345f735fc9e047e58aa4e1ebe0257 Mon Sep 17 00:00:00 2001 From: Olivier Sirol Date: Fri, 24 Sep 1999 12:10:43 +0000 Subject: [PATCH] update --- CVSROOT/loginfo | 2 +- CVSROOT/postconfig | 23 +++++++---------------- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/CVSROOT/loginfo b/CVSROOT/loginfo index e9692bc3..6c2a3e3d 100644 --- a/CVSROOT/loginfo +++ b/CVSROOT/loginfo @@ -21,6 +21,6 @@ #^CVSROOT (echo ""; who am i; echo %s; date; cat) >> $CVSROOT/CVSROOT/log-cvsroot #ALL (date ; cat ; (sleep 2 ; cd /users/outil1/alliance/latest ; cvs -q update -d ) &) >> $CVSROOT/CVSROOT/log-latest 2>&1 -ALL (cat > /dev/null 2>&1 ; echo "%%%%%%%%%% Faut pas taper Ctrl-C ...") +ALL (cat > /dev/null 2>&1 ; echo "Taper Ctrl-C peut avoir des consequences facheuses :-)") ALL (/users/outil1/alliance/cvsroot/CVSROOT/postconfig) >> $CVSROOT/CVSROOT/log-postconfig diff --git a/CVSROOT/postconfig b/CVSROOT/postconfig index ff67301b..83c746e2 100755 --- a/CVSROOT/postconfig +++ b/CVSROOT/postconfig @@ -7,7 +7,7 @@ # (C) Czo 1998,99 # This code is released under GPL # -# $Id: postconfig,v 1.12 1999/09/23 18:44:52 czo Exp $ +# $Id: postconfig,v 1.13 1999/09/24 12:10:43 czo Exp $ # @@ -22,6 +22,11 @@ echo "Par : $FINGER" echo "====================================================================" echo "" cat +echo "====================================================================" +echo "Ce message est envoyé au personnes abonnes à alliance-programmers" +echo "Pour plus d'information sur cette mailling-list, visitez :" +echo "http://www-asim.lip6.fr/alliance/mailing-lists/" + ) > "$TMPFILE" MAIL_SUBJECT=`cat "$TMPFILE" | gawk ' @@ -36,18 +41,6 @@ END { printf("CVS loginfo, %s", SUJ) }'` -UPDATE=`cat "$TMPFILE" | gawk ' -/Update of \/users\/outil1\/alliance\/cvsroot\// { -gsub(/Update of \/users\/outil1\/alliance\/cvsroot\//, "\/users\/outil1\/alliance\/latest\/"); -SUJ=$0 -} -END { -printf("%s", SUJ) -}'` - -#echo $UPDATE -#exit 7 - cat "$TMPFILE" >> $CVSROOT/CVSROOT/log-commit cat "$TMPFILE" | mail -s "ALC : $MAIL_SUBJECT" alliance-programmers@asim.lip6.fr @@ -55,9 +48,7 @@ cat "$TMPFILE" | mail -s "ALC : $MAIL_SUBJECT" alliance-programmers@asim.lip6.f # find cvsroot -type d | xargs chmod g+s # devrait marcher... # chgrp -R alliance /users/outil1/alliance/cvsroot -cd "$UPDATE" -cvs -q update -d -P & -# chgrp -R alliance /users/outil1/alliance/latest +# cvs -q update -d -P & en crontab .... rm -f "$TMPFILE" dummy