From 63cae2848d59440b480f6f2d343edc7946c5cf62 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sat, 23 Jan 2016 16:23:06 +0000 Subject: Do not store the build bot architecture for noarch packages --- ulri | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ulri') diff --git a/ulri b/ulri index ae81ed1..148479c 100755 --- a/ulri +++ b/ulri @@ -647,8 +647,7 @@ foreach my $prefix (sort keys %pkg_tree) { # Register that the package is building $run{bot}{$host}{$bot} = $prefix; - $pkg_tree{$prefix}{media}{$media}{arch}{$arch} = 1; - $pkg_tree{$prefix}{media}{$media}{arch}{noarch} = 1 if $noarch; + $pkg_tree{$prefix}{media}{$media}{arch}{$noarch ? 'noarch' : $arch} = 1; # spawn remote build bot and save output on local file # (remove status.log before building, otherwise we can have -- cgit v1.2.1