install.sh revision 6f4d4a65e69950f9efb9d5724d59506f86be09b9
#!/bin/sh -x
#change daily snapshot into a backup or release
#the first argument should be a version number or a date
#compute date by "date +%F"
INSTALLDIR=/home/www/agbkb/forschung/formal_methods/CoFI/hets
VERSION=$1
case `uname -s` in
SunOS) TAR=gtar;;
*) TAR=tar;;
esac
for i in linux linux64 pc-solaris intel-mac
do
(cd $INSTALLDIR/$i; cp -p daily/hets.bz2 versions/hets-$VERSION.bz2)
done
(cd $INSTALLDIR/src-distribution; \
cp -p daily/Het*.t* versions/Hets-src-$VERSION.tgz; \
cd versions; rm -rf Hets; \
$TAR zxf Hets-src-$VERSION.tgz)
# also unpack the new release as "recent overview of the modules"