diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-02-17 23:33:57 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-02-17 23:35:22 +0000 |
commit | 516c539e727fa0fbd894c3140b7c3609a6cc6740 (patch) | |
tree | 142450329c32490b88a5aa8065a932cd16b78126 /ulri | |
parent | 0bb06ed29c110447435240ea9b101cfc991a23f0 (diff) | |
download | iurt-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-x | ulri | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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}; |