diff options
author | Olivier Blin <dev@blino.org> | 2015-11-02 22:03:43 +0100 |
---|---|---|
committer | Olivier Blin <dev@blino.org> | 2015-11-02 22:03:43 +0100 |
commit | d5e40ac05ce2bb0aa4df25cd912fab68459b9688 (patch) | |
tree | dda9ae85c2d0d79f74e17ddf81a1f5bb5fc87d01 /modules/buildsystem | |
parent | 641e4bf359fb8f9aec36d6e45e41c47d6034105b (diff) | |
download | puppet-d5e40ac05ce2bb0aa4df25cd912fab68459b9688.tar puppet-d5e40ac05ce2bb0aa4df25cd912fab68459b9688.tar.gz puppet-d5e40ac05ce2bb0aa4df25cd912fab68459b9688.tar.bz2 puppet-d5e40ac05ce2bb0aa4df25cd912fab68459b9688.tar.xz puppet-d5e40ac05ce2bb0aa4df25cd912fab68459b9688.zip |
Youri::Repository::Mageia: Use new get_target_arches() method in _get_distribution_paths
Diffstat (limited to 'modules/buildsystem')
-rw-r--r-- | modules/buildsystem/files/Mageia.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/buildsystem/files/Mageia.pm b/modules/buildsystem/files/Mageia.pm index 2007fa05..539961ab 100644 --- a/modules/buildsystem/files/Mageia.pm +++ b/modules/buildsystem/files/Mageia.pm @@ -225,7 +225,7 @@ sub _get_distribution_paths { my $arch = $package->get_arch(); $arch = $translate_arch{$arch} || $arch; if ($arch eq 'noarch') { - map { "$target/$_" } $self->get_extra_arches; + map { "$target/$_" } $self->get_target_arches($target); } elsif ($arch eq 'src') { die "no way to get distribution path using a $arch package"; } else { |