diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-12-11 09:03:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-12-11 09:03:27 +0000 |
commit | c894f7802e82644053bf301ad6d24aae3e046cb7 (patch) | |
tree | b80929f477f76380e0bda53da598fac29649b360 /ulri | |
parent | 07a7f870fc8908bcef0c32988477ae99536d3ccb (diff) | |
download | iurt-c894f7802e82644053bf301ad6d24aae3e046cb7.tar iurt-c894f7802e82644053bf301ad6d24aae3e046cb7.tar.gz iurt-c894f7802e82644053bf301ad6d24aae3e046cb7.tar.bz2 iurt-c894f7802e82644053bf301ad6d24aae3e046cb7.tar.xz iurt-c894f7802e82644053bf301ad6d24aae3e046cb7.zip |
perl_checker cleanup
Diffstat (limited to 'ulri')
-rwxr-xr-x | ulri | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -152,7 +152,7 @@ my %config_usage = ( desc => 'Default packager tag user by bot', default => 'Mageia Team <http://www.mageia.org>' }, - arch => { + 'arch' => { desc => 'Architectures list for each target', default => { cauldron => [ 'i586', 'x86_64' ], @@ -545,10 +545,10 @@ foreach my $prefix (sort keys %pkg_tree) { my @arch_list = keys %{$config->{bot}}; if (ref $config->{arch} eq 'ARRAY') { @arch_list = @{$config->{arch}}; - } elsif (ref $config->{arch}->{$target} eq 'ARRAY') { - @arch_list = @{$config->{arch}->{$target}}; - } elsif (ref $config->{arch}->{default} eq 'ARRAY') { - @arch_list = @{$config->{arch}->{default}}; + } elsif (ref $config->{arch}{$target} eq 'ARRAY') { + @arch_list = @{$config->{arch}{$target}}; + } elsif (ref $config->{arch}{default} eq 'ARRAY') { + @arch_list = @{$config->{arch}{default}}; } # need to find a bot for each arch foreach my $arch (@arch_list) { |