From 3c7a8d21a619ae10c8bc100e8c53d9836571fbeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 30 Nov 2023 11:07:58 +0100 Subject: [PATCH] productcompose: fix flavor architecture parsing --- Build/ProductCompose.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/ProductCompose.pm b/Build/ProductCompose.pm index c7cdd3daf..e93829c03 100644 --- a/Build/ProductCompose.pm +++ b/Build/ProductCompose.pm @@ -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;