diff --git a/Build/ProductCompose.pm b/Build/ProductCompose.pm index b77733c24..ea1aa5c70 100644 --- a/Build/ProductCompose.pm +++ b/Build/ProductCompose.pm @@ -106,7 +106,7 @@ sub parse { if ($dep->{'architectures'}) { my $match; for my $a (@architectures) { - $match if grep { $_ eq $a } @{$dep->{'architectures'} || []}; + $match = 1 if grep { $_ eq $a } @{$dep->{'architectures'} || []}; } next unless $match; }