fixed
authorthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Thu, 18 Sep 2008 20:24:31 +0000 (20:24 +0000)
committerthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Thu, 18 Sep 2008 20:24:31 +0000 (20:24 +0000)
scripts/all-builds.sh

index 1f012e8..33bdb0f 100755 (executable)
@@ -58,10 +58,10 @@ while [[ -n "$@" ]] ; do
 done
 
 DEFAULT_FCDISTROS="f8"
-DEFAULT_BITS="32 64"
 DEFAULT_BASE="@DATE@"
 
 function trunk_builds () {
+    DEFAULT_BITS="32"
     DEFAULT_MAJOR_DISTROS=""
     DEFAULT_VS_DISTROS=""
 # 5.0 ready for planetlab distro only so far
@@ -71,6 +71,7 @@ function trunk_builds () {
 }
 
 function branch_builds () {
+    DEFAULT_BITS="32 64"
     DEFAULT_MAJOR_DISTROS="onelab planetlab"
     DEFAULT_VS_DISTROS=""
     DEFAULT_BITS="32"
@@ -79,6 +80,7 @@ function branch_builds () {
 }
 
 function tagged_builds () {
+    DEFAULT_BITS="32 64"
     DEFAULT_MAJOR_DISTROS="onelab planetlab"
     DEFAULT_VS_DISTROS="onelab"
     DEFAULT_TRUNK_DISTROS=""
@@ -174,7 +176,7 @@ for f in $TRUNK_FCDISTROS; do
        buildname="${BASE}--tr${f}-${bits}"
        command="/root/bin/vbuild-nightly.sh -m onelab-build@one-lab.org ${BUILDOPT} \
         -d planetlab -p linux32 -f $f -b $buildopt $extra_option"
-       run $ocmmand
+       run $command
     done
 done
 ##############################