]> git.donarmstrong.com Git - wannabuild.git/commitdiff
trigger.daily: do not require $ARCHS_unstable to be a superset of the rest.
authorAdeodato Simó <dato@net.com.org.es>
Fri, 20 Mar 2009 12:24:56 +0000 (13:24 +0100)
committerAdeodato Simó <dato@net.com.org.es>
Fri, 20 Mar 2009 12:25:04 +0000 (13:25 +0100)
trigger.daily

index 73b17768113ac50dadb6c39620e6791de38bcc73..db967a86261b7998b30a6b4105a44297425256ef 100755 (executable)
@@ -158,7 +158,12 @@ echo "fetch and quinn completed: `date -u`"
 echo "fetch and quinn completed: `date -u`" >&3
 
 umask 002
-for a in $ARCHS_unstable ; do
+# Gross hack: we need a list of all architectures, because this loop
+# insists on iterating on arches and then suites, instead of the
+# opposite.
+ALL_ARCHES=$(echo $ARCHS_oldstable $ARCHS_stable $ARCHS_testing $ARCHS_unstable \
+            | tr ' ' '\n' | sort -u)
+for a in $ALL_ARCHES ; do
        wanna-build --create-maintenance-lock --database=$a/build-db
 
        for d in $DISTS ; do