diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-07 12:04:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-07 12:04:52 +0000 |
commit | dcb1e0d3fe2ff158cb0df533ce3eb07139040a65 (patch) | |
tree | f3822a333c62225bf1755cfec6f7274037d8620d | |
parent | 9c46df437e09357865998ab42cabd0fcf6befb9d (diff) | |
download | urpmi-dcb1e0d3fe2ff158cb0df533ce3eb07139040a65.tar urpmi-dcb1e0d3fe2ff158cb0df533ce3eb07139040a65.tar.gz urpmi-dcb1e0d3fe2ff158cb0df533ce3eb07139040a65.tar.bz2 urpmi-dcb1e0d3fe2ff158cb0df533ce3eb07139040a65.tar.xz urpmi-dcb1e0d3fe2ff158cb0df533ce3eb07139040a65.zip |
perl_checker compliance
-rw-r--r-- | urpm/parallel_ka_run.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm index d9beea4c..868fd149 100644 --- a/urpm/parallel_ka_run.pm +++ b/urpm/parallel_ka_run.pm @@ -7,16 +7,16 @@ package urpm::parallel_ka_run; use strict; -(our $VERSION) = q$Revision$ =~ /(\d+)/; +(our $VERSION) = q($Revision$) =~ /(\d+)/; our $mput_command = $ENV{URPMI_MPUT_COMMAND}; our $rshp_command = $ENV{URPMI_RSHP_COMMAND}; if (!$mput_command) { - ($mput_command) = grep -x, qw(/usr/bin/mput2 /usr/bin/mput); + ($mput_command) = grep { -x $_ } qw(/usr/bin/mput2 /usr/bin/mput); } $mput_command = 'mput' unless $mput_command; if (!$rshp_command) { - ($rshp_command) = grep -x, qw(/usr/bin/rshp2 /usr/bin/rshp); + ($rshp_command) = grep { -x $_ } qw(/usr/bin/rshp2 /usr/bin/rshp); } $rshp_command = 'rshp' unless $rshp_command; |