aboutsummaryrefslogtreecommitdiffstats
path: root/emi
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2015-11-17 00:13:33 +0100
committerOlivier Blin <dev@blino.org>2015-11-17 00:13:55 +0100
commitf429de1f34816962b20b0a3ec23eafe0453fcbd8 (patch)
treed5c4f2e45ca832727e5530e672f00ade482ba117 /emi
parent2cafdf6269c73d980f5a6491fccc321e101283d6 (diff)
downloadiurt-f429de1f34816962b20b0a3ec23eafe0453fcbd8.tar
iurt-f429de1f34816962b20b0a3ec23eafe0453fcbd8.tar.gz
iurt-f429de1f34816962b20b0a3ec23eafe0453fcbd8.tar.bz2
iurt-f429de1f34816962b20b0a3ec23eafe0453fcbd8.tar.xz
iurt-f429de1f34816962b20b0a3ec23eafe0453fcbd8.zip
emi: move get_mandatory_arch call to upper scope
Diffstat (limited to 'emi')
-rwxr-xr-xemi2
1 files changed, 1 insertions, 1 deletions
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;