Skip to content

Commit

Permalink
productcompose: fix flavor architecture parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Nov 30, 2023
1 parent da3ef52 commit 3c7a8d2
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 @@ -92,7 +92,7 @@ sub parse {
for my $flavor (@{$data->{'flavors'}}) {
my $f = $flavor->{$cf->{'buildflavor'}};
next unless $f;
@architectures = $f->{'architectures'};
@architectures = @{$f->{'architectures'}} if $f->{'architectures'};
}
}
$ret->{'exclarch'} = \@architectures if @architectures;
Expand Down

0 comments on commit 3c7a8d2

Please sign in to comment.