From a848052bfbd4660bc5800d9b1a4b2984b04bb195 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 28 Apr 2001 20:47:24 +0000 Subject: [PATCH] build-script --- scripts/cvsuser/build.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 scripts/cvsuser/build.sh diff --git a/scripts/cvsuser/build.sh b/scripts/cvsuser/build.sh new file mode 100755 index 000000000..64a3f949b --- /dev/null +++ b/scripts/cvsuser/build.sh @@ -0,0 +1,24 @@ +#!/bin/bash +echo "running build.sh" +module=eressea +rootdir=/home/cvs/checkout/${module} +# www=$rootdir/www-data -- no web archives of eressea source +subdir="source" + +date >> ${rootdir}/buildlog + +echo ==---------------------== +echo `date` : Rebuilding ${module} +echo ==---------------------== + +for sub in $subdir +do + # update the source tree + cd $rootdir/$sub + cvs -q update -drP + # create the source archive + # cd $rootdir + # tar czf ${www}/downloads/${module}-${sub}.tar.gz ${sub} +done +cat >| parameters +${rootdir}/senddiff.pl `cat parameters` 2>&1 >> /tmp/senddiff.log