From: build Date: Tue, 13 Feb 2007 21:17:07 +0000 (+0000) Subject: merges lost changes for new svn setup and usage -- handles distro=planetlab gracefully X-Git-Tag: foo~547 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=075d9f055ba9cbb9b6c223cb209ba83048bc9c1a;p=infrastructure.git merges lost changes for new svn setup and usage -- handles distro=planetlab gracefully --- diff --git a/scripts/nightly-build.sh b/scripts/nightly-build.sh index 20deed3..6c74036 100755 --- a/scripts/nightly-build.sh +++ b/scripts/nightly-build.sh @@ -6,16 +6,25 @@ CVSROOT=":pserver:anon@cvs.planet-lab.org:/cvs" DISTRO=onelab MAILTO="thierry.parmentelat@sophia.inria.fr" TAG=HEAD +CHROOTDIR=/root/bin # plc chroot runs in UTC date=$(date -u +'%Y.%m.%d') +function usage () { + echo "$COMMAND [option]" + echo " -d CVSROOT" + echo " -r TAG" + echo " -m MAILTO" + echo " -f DISTRO" + echo " -b BASE" + exit 1 +} + ### in the root context function do_chroot () { - cd /build/custom - (date ; svn update) >> update.log 2>&1 chroot /plc/devel/root su - build <