From 2a215d8ff936a5b13815d36cca42e38833214b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 22 May 2024 13:26:25 +0200 Subject: [PATCH] productcompose: fix milestone query --- Build/ProductCompose.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Build/ProductCompose.pm b/Build/ProductCompose.pm index fd1d7c610..b87422e23 100644 --- a/Build/ProductCompose.pm +++ b/Build/ProductCompose.pm @@ -161,8 +161,9 @@ sub parse { } sub show { - my ($fn, $field) = @ARGV; - my $cf = {}; + my ($fn, $field, $arch, $buildflavor) = @ARGV; + my $cf = {'arch' => $arch}; + $cf->{'buildflavor'} = $buildflavor if defined $buildflavor; my $d = parse($cf, $fn); die "$d->{error}\n" if $d->{error}; my $value = $d->{ $field };