aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
diff options
context:
space:
mode:
Diffstat (limited to 'ulri')
-rwxr-xr-xulri4
1 files changed, 3 insertions, 1 deletions
diff --git a/ulri b/ulri
index bd544b2..1e36f98 100755
--- a/ulri
+++ b/ulri
@@ -375,6 +375,7 @@ foreach my $prefix (keys %pkg_tree) {
if ($done) {
create_file("$done_dir/${prefix}_$arch.done", "$bot $host");
+ $pkg_tree{$prefix}{media}{$media}{done_arch}{$arch} = 1;
$success = 1;
}
@@ -491,9 +492,10 @@ foreach my $prefix (sort keys %pkg_tree) {
# need to find a bot for each arch
foreach my $arch (@arch_list) {
# Skip this arch if the package is already building as noarch or for this arch
- # or if it should not be built on this arch or it has already failed
+ # or if it should not be built on this arch or it has already failed or succeeded
next if $pkg_tree{$prefix}{media}{$media}{arch}{noarch};
next if $pkg_tree{$prefix}{media}{$media}{arch}{$arch};
+ 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};