From: thierry Date: Fri, 9 Nov 2007 09:45:23 +0000 (+0000) Subject: tmp - set verbose X-Git-Tag: foo~406 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=a7808cc9e51c5fc3d285b4cca6a0518f4bfcb45c;p=infrastructure.git tmp - set verbose --- diff --git a/scripts/nightly-build-vserver.sh b/scripts/nightly-build-vserver.sh index 9de788e..4a540b7 100755 --- a/scripts/nightly-build-vserver.sh +++ b/scripts/nightly-build-vserver.sh @@ -149,6 +149,7 @@ function usage () { function main () { + set -x # parse arguments MAKEVARS=() MAKEOPTS=() @@ -181,12 +182,11 @@ function main () { [ -z "$BASE" ] && BASE=${DISTRO}-${FC_DISTRO} BASE=$(echo ${BASE} | sed -e "s,@,${DATE},g") - # if we run in the root context : - # (*) create or check for the vserver to use - # (*) copy this command in the vserver - # (*) invoke it - if [ -d /vservers ] ; then + # we run in the root context : + # (*) create or check for the vserver to use + # (*) copy this command in the vserver + # (*) invoke it if [ -n "$USEOLD" ] ; then ### Re-use a vserver (finish an unfinished build..)