This commit is contained in:
Olivier Sirol 1999-11-04 13:36:59 +00:00
parent ada05fb534
commit cd39ec55d4
2 changed files with 42 additions and 27 deletions

View File

@ -7,7 +7,7 @@
# Author: Frédéric Pétrot (fred@pasta.fr.ea) # Author: Frédéric Pétrot (fred@pasta.fr.ea)
# for version 0 # for version 0
# #
# $Id: instool,v 1.15 1999/10/29 08:47:30 czo Exp $ # $Id: instool,v 1.16 1999/11/04 13:36:59 czo Exp $
# #
@ -37,30 +37,13 @@ ETC=$LABO/share/etc
MANS=$LABO/share/man MANS=$LABO/share/man
umask 002 umask 002
alcbanner "Instoll" "0.0 alpha" "Alliance Tools Installation Script" "1999"
echo " @@@@@@ @@@@@@@@@@ @@@@" echo ""
echo " @@ @ @@ @ @@" echo ""
echo " @@ @ @@ @ @@"
echo " @@ @@@ @@@ @@@@@@ @@ @@@ @@@ @@"
echo " @@ @@@ @ @@ @ @@ @@ @@ @@ @@ @@"
echo " @@ @@ @@ @@@ @@ @@ @@ @@ @@ @@"
echo " @@ @@ @@ @@@@ @@ @@ @@ @@ @@ @@"
echo " @@ @@ @@ @@@@ @@ @@ @@ @@ @@ @@"
echo " @@ @@ @@ @ @@@ @@ @@ @@ @@ @@ @@"
echo " @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@"
echo " @@@@@@ @@@@ @@@@ @ @@@@@ @@@@@@ @@@ @@@ @@@@@@"
echo
echo " Alliance Tools Installation Script"
echo
echo " Alliance CAD System 3.2, instool beta0"
echo " Copyright (c) now, MASI, CAO-VLSI Team"
echo " E-mail support: cao-vlsi@lip6.fr"
echo
echo "News: " echo "News: "
echo " the include are shared" echo " the include are shared"
echo " a log of all installations is available in $HOME/tmp" echo " a log of all installations is available in $HOME/tmp"
echo " a message MUST be given for each installation" echo " a message MUST be given for each installation"
echo " the default shell is now sh"
if [ $# -lt 2 -o $# -gt 4 ] ; then if [ $# -lt 2 -o $# -gt 4 ] ; then
echo "Syntax: `basename $0` [-v] tool-home-directory message" echo "Syntax: `basename $0` [-v] tool-home-directory message"
@ -341,8 +324,40 @@ echo " the default shell is now sh"
if [ -s $BUG ] ; then if [ -s $BUG ] ; then
mail -s "ALC : Problem while installing `basename $1`" $BUGTEAM < $BUG mail -s "ALC : Problem while installing `basename $1`" $BUGTEAM < $BUG
fi fi
echo $* | mail -s "ALC : Install of `basename $1`" alliance-programmers@asim.lip6.fr cat $LOG >> $TMPDIR/`basename $1`.log
cat $LOG >> $TMPDIR/`basename $1`.log
exit 0
# mail alcteam
#echo $* | mail -s "ALC : Install of `basename $1`" alliance-programmers@asim.lip6.fr
TMPFILE=/tmp/instool.$$
FINGER=`who am i | gawk '{gsub(/^[^\!]*\!/,""); print $1}'`
SUJ=`basename $1`
(
echo "===================================================================="
echo "Installation de la nouvelle version de $SUJ"
echo "le : `date`"
echo "par : $FINGER"
echo "===================================================================="
echo ""
echo $*
echo ""
echo "===================================================================="
echo "Ce message est envoyé au personnes abonnées à alliance-programmers"
echo "Pour plus d'information sur cette mailling-list, visitez :"
echo "http://www-asim.lip6.fr/alliance/mailing-lists/"
) > "$TMPFILE"
cat "$TMPFILE" | mail -s "ALC : $SUJ" alliance-programmers@asim.lip6.fr
rm -f "$TMPFILE" dummy
exit 0

View File

@ -7,13 +7,13 @@
# (C) Czo 1998,99 # (C) Czo 1998,99
# This code is released under GPL # This code is released under GPL
# #
# $Id: postconfig,v 1.15 1999/09/24 12:23:46 czo Exp $ # $Id: postconfig,v 1.16 1999/11/04 13:36:59 czo Exp $
# #
PATH=/asim/gnu/bin:/usr/ucb:/usr/etc:/bin:${PATH} PATH=/asim/gnu/bin:/usr/ucb:/usr/etc:/bin:${PATH}
TMPFILE=/tmp/cvslog.$$ TMPFILE=/tmp/cvslog.$$
FINGER=`who am i | gawk '{gsub(/^[^!]*!/,""); print $1}'` FINGER=`who am i | gawk '{gsub(/^[^\!]*\!/,""); print $1}'`
( (
echo "====================================================================" echo "===================================================================="