Skip to content

Commit

Permalink
ProductCompose: Do not warn about an undef flavor
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Jan 24, 2024
1 parent 06e4b64 commit f6bd18c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/ProductCompose.pm
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ sub get_pkgset_compat {
my @r;
for my $s (@{$pkgs || []}) {
if (ref($s) eq 'HASH') {
next if $s->{'flavors'} && !grep {$_ eq $flavor} @{$s->{'flavors'}};
next if $s->{'flavors'} && !grep {$flavor && $_ eq $flavor} @{$s->{'flavors'}};
next if $s->{'architectures'} && !grep {$_ eq $arch} @{$s->{'architectures'}};
push @r, @{$s->{'packages'} || []};
} else {
Expand Down

0 comments on commit f6bd18c

Please sign in to comment.