aboutsummaryrefslogtreecommitdiffstats
path: root/emi
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2015-11-17 22:28:14 +0100
committerOlivier Blin <dev@blino.org>2015-11-17 22:28:14 +0100
commit9224244d57c3d7026232b68c63fb488789e8f7c9 (patch)
tree0b12b18f52320aea1d0f89652bb2555923166d49 /emi
parent41152e8fd50ece1f26e429110ae6390f94cfc0a2 (diff)
downloadiurt-9224244d57c3d7026232b68c63fb488789e8f7c9.tar
iurt-9224244d57c3d7026232b68c63fb488789e8f7c9.tar.gz
iurt-9224244d57c3d7026232b68c63fb488789e8f7c9.tar.bz2
iurt-9224244d57c3d7026232b68c63fb488789e8f7c9.tar.xz
iurt-9224244d57c3d7026232b68c63fb488789e8f7c9.zip
emi: Fix usage of difference2 to really keep src.rpm until all archs are done
difference2 takes array refs as arguments.
Diffstat (limited to 'emi')
-rwxr-xr-xemi2
1 files changed, 1 insertions, 1 deletions
diff --git a/emi b/emi
index 84791a0..2b8e328 100755
--- a/emi
+++ b/emi
@@ -331,7 +331,7 @@ sub upload_prefix_in_section {
my @arch_list = $arch_list ? @$arch_list : keys %{$config->{bot}};
# If we are here, mandatory arches are done, no need to check them
my $mandatory_arch = get_mandatory_arch($config, $target);
- foreach my $arch (difference2(@arch_list, $mandatory_arch)) {
+ foreach my $arch (difference2(\@arch_list, $mandatory_arch)) {
next if $pkg_tree{$prefix}{section}{$section}{arch}{$arch};
$all_done = 0;
}