aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-11 09:03:27 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-11 09:03:27 +0000
commitc894f7802e82644053bf301ad6d24aae3e046cb7 (patch)
treeb80929f477f76380e0bda53da598fac29649b360 /ulri
parent07a7f870fc8908bcef0c32988477ae99536d3ccb (diff)
downloadiurt-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-xulri10
1 files changed, 5 insertions, 5 deletions
diff --git a/ulri b/ulri
index 9cc6d9e..e29be95 100755
--- a/ulri
+++ b/ulri
@@ -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) {