aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-11-24 13:37:35 +0000
committerPascal Terjan <pterjan@gmail.com>2016-11-24 13:37:35 +0000
commit6ce42d4b83aa1e4c06ec1f9b8d8fde439a3cd6a6 (patch)
tree557cee89a5eeaf9d8b6879893d00f2a5b9da4d1f /lib
parente25899465808ac13ed6ce60ef6dccb0b932f9337 (diff)
downloadiurt-6ce42d4b83aa1e4c06ec1f9b8d8fde439a3cd6a6.tar
iurt-6ce42d4b83aa1e4c06ec1f9b8d8fde439a3cd6a6.tar.gz
iurt-6ce42d4b83aa1e4c06ec1f9b8d8fde439a3cd6a6.tar.bz2
iurt-6ce42d4b83aa1e4c06ec1f9b8d8fde439a3cd6a6.tar.xz
iurt-6ce42d4b83aa1e4c06ec1f9b8d8fde439a3cd6a6.zip
Fix bug causing to never delete src.rpm from todo
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Queue.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Queue.pm b/lib/Iurt/Queue.pm
index 3fc40bd..449a7bf 100644
--- a/lib/Iurt/Queue.pm
+++ b/lib/Iurt/Queue.pm
@@ -68,7 +68,7 @@ sub check_if_all_archs_processed {
return 1 if $ent->{media}{$media}{done_arch}{noarch};
return 1 if $ent->{media}{$media}{failed_arch}{noarch};
my $arch_list = get_target_arch($config, $ent->{target});
- foreach my $arch ($arch_list) {
+ foreach my $arch (@$arch_list) {
next if $ent->{media}{$media}{done_arch}{$arch};
next if $ent->{media}{$media}{excluded_arch}{$arch};
next if $ent->{media}{$media}{failed_arch}{$arch};