From 516c539e727fa0fbd894c3140b7c3609a6cc6740 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 17 Feb 2020 23:33:57 +0000 Subject: Revert "Delete useless check" This reverts commit edfd0db4a445d0b9d86defa202b5c9ff3ac8beb3. This check is actually useful, add a comment instead. --- ulri | 3 +++ 1 file changed, 3 insertions(+) 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}; -- cgit v1.2.1