aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2020-02-17 23:33:57 +0000
committerPascal Terjan <pterjan@mageia.org>2020-02-17 23:35:22 +0000
commit516c539e727fa0fbd894c3140b7c3609a6cc6740 (patch)
tree142450329c32490b88a5aa8065a932cd16b78126 /ulri
parent0bb06ed29c110447435240ea9b101cfc991a23f0 (diff)
downloadiurt-516c539e727fa0fbd894c3140b7c3609a6cc6740.tar
iurt-516c539e727fa0fbd894c3140b7c3609a6cc6740.tar.gz
iurt-516c539e727fa0fbd894c3140b7c3609a6cc6740.tar.bz2
iurt-516c539e727fa0fbd894c3140b7c3609a6cc6740.tar.xz
iurt-516c539e727fa0fbd894c3140b7c3609a6cc6740.zip
Revert "Delete useless check"
This reverts commit edfd0db4a445d0b9d86defa202b5c9ff3ac8beb3. This check is actually useful, add a comment instead.
Diffstat (limited to 'ulri')
-rwxr-xr-xulri3
1 files changed, 3 insertions, 0 deletions
diff --git a/ulri b/ulri
index a528c1a..2c33ac6 100755
--- a/ulri
+++ b/ulri
@@ -512,7 +512,10 @@ foreach my $prefix (sort keys %pkg_tree) {
# Skip this arch if the package is already building for it or if it
# should not be built on this arch or it has already failed or
# succeeded.
+ # Check again for noarch here, as we may ave triggered a noarch build on
+ # previous architecture and should not start another one.
next if $pkg_tree{$prefix}{media}{$media}{arch}{$arch};
+ next if $pkg_tree{$prefix}{media}{$media}{arch}{noarch};
next if $pkg_tree{$prefix}{media}{$media}{done_arch}{$arch};
next if $pkg_tree{$prefix}{media}{$media}{excluded_arch}{$arch};
next if $pkg_tree{$prefix}{media}{$media}{failed_arch}{$arch};