diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-01-26 11:24:53 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-01-26 11:24:53 +0000 |
commit | f37dda0e408e123c2bcd7646f6f096d81097a53d (patch) | |
tree | 105ecd6c8992a7a0bc55f0b3edde8af6a41d8e4a /lib | |
parent | 780e2791e7e770765111bbc65c57e1cadd65fcb4 (diff) | |
download | mga-youri-submit-f37dda0e408e123c2bcd7646f6f096d81097a53d.tar mga-youri-submit-f37dda0e408e123c2bcd7646f6f096d81097a53d.tar.gz mga-youri-submit-f37dda0e408e123c2bcd7646f6f096d81097a53d.tar.bz2 mga-youri-submit-f37dda0e408e123c2bcd7646f6f096d81097a53d.tar.xz mga-youri-submit-f37dda0e408e123c2bcd7646f6f096d81097a53d.zip |
fix arch ACL matching (and thus allow ACLs to match again)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Youri/Submit/Check/ACL.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Check/ACL.pm b/lib/Youri/Submit/Check/ACL.pm index 7e13dcd..26de874 100644 --- a/lib/Youri/Submit/Check/ACL.pm +++ b/lib/Youri/Submit/Check/ACL.pm @@ -37,7 +37,7 @@ sub run { foreach my $t (keys %$acl) { next if $target !~ /$t/; foreach my $acl (@{$acl->{$t}}) { - my ($arch, $media, $r, $users) = @$acl; + my ($a, $media, $r, $users) = @$acl; next if $arch !~ $a || $srpm !~ $r || $media !~ $media; if ($user =~ /$users/) { return |