tmp - set verbose
authorthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Fri, 9 Nov 2007 09:45:23 +0000 (09:45 +0000)
committerthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Fri, 9 Nov 2007 09:45:23 +0000 (09:45 +0000)
scripts/nightly-build-vserver.sh

index 9de788e..4a540b7 100755 (executable)
@@ -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..)