aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-01-23 16:23:06 +0000
committerPascal Terjan <pterjan@gmail.com>2016-01-23 16:23:06 +0000
commit63cae2848d59440b480f6f2d343edc7946c5cf62 (patch)
treef1c6ae87e48ff7230591f3048bc4e5175b6c4adc
parent2669674bcbc7ed911fb2d4aa8311ad131bb0d6b8 (diff)
downloadiurt-63cae2848d59440b480f6f2d343edc7946c5cf62.tar
iurt-63cae2848d59440b480f6f2d343edc7946c5cf62.tar.gz
iurt-63cae2848d59440b480f6f2d343edc7946c5cf62.tar.bz2
iurt-63cae2848d59440b480f6f2d343edc7946c5cf62.tar.xz
iurt-63cae2848d59440b480f6f2d343edc7946c5cf62.zip
Do not store the build bot architecture for noarch packages
-rwxr-xr-xulri3
1 files changed, 1 insertions, 2 deletions
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