From f429de1f34816962b20b0a3ec23eafe0453fcbd8 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 17 Nov 2015 00:13:33 +0100 Subject: emi: move get_mandatory_arch call to upper scope --- emi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emi b/emi index ffc4c47..e79b3d3 100755 --- a/emi +++ b/emi @@ -186,13 +186,13 @@ my %targets; foreach my $prefix (sort keys %pkg_tree) { my $target = $pkg_tree{$prefix}{target}; + my $mandatory_arch = get_mandatory_arch($config, $target); plog('NOTIFY', "processing $prefix"); my $ok = 1; foreach my $section (keys %{$pkg_tree{$prefix}{section}}) { - my $mandatory_arch = get_mandatory_arch($config, $target); my @wanted_archs = defined($pkg_tree{$prefix}{section}{$section}{arch}{noarch}) ? 'noarch' : @$mandatory_arch; my $path = $pkg_tree{$prefix}{section}{$section}{path}; my %missing; -- cgit v1.2.1