diff options
author | Olivier Blin <dev@blino.org> | 2015-11-17 00:13:33 +0100 |
---|---|---|
committer | Olivier Blin <dev@blino.org> | 2015-11-17 00:13:55 +0100 |
commit | f429de1f34816962b20b0a3ec23eafe0453fcbd8 (patch) | |
tree | d5c4f2e45ca832727e5530e672f00ade482ba117 /emi | |
parent | 2cafdf6269c73d980f5a6491fccc321e101283d6 (diff) | |
download | iurt-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-x | emi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |