diff options
-rw-r--r-- | lib/Iurt/Config.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Config.pm b/lib/Iurt/Config.pm index 5bc65d0..3bef604 100644 --- a/lib/Iurt/Config.pm +++ b/lib/Iurt/Config.pm @@ -167,7 +167,7 @@ sub check_arch { if ($exclusive_arch ne '(none)') { ($exclusive_arch) = $hdr->queryformat('[%{EXCLUSIVEARCH} ]'); my @list = split ' ', $exclusive_arch; - return 0 unless any { $arch_comp{$arch}{$_} } @list; + return 0 unless member($arch, @list); } my ($exclude_arch) = $hdr->queryformat('[%{EXCLUDEARCH} ]'); |