aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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