From f06c4fbb7cd4c1f942cbc27d1b5067572e58a39b Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 13 Jan 2004 13:12:12 +0000 Subject: perl check --- perl-install/pkgs.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install/pkgs.pm') diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 745ae9367..ad54e7e39 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -484,11 +484,12 @@ sub read_rpmsrate { ($t, $flag, $data) = ($1,$2,$3); while ($flag =~ s,^\s*(("[^"]*"|[^"\s]*)*)\s+,$1,) {} my $ok = 0; + my ($inv, $p); $flag = join('||', grep { - if (my ($inv, $p) = /^(!)?HW"(.*)"/) { + if (($inv, $p) = /^(!)?HW"(.*)"/) { ($inv xor detect_devices::matching_desc($p)) and $ok = 1; 0; - } elsif (my ($inv, $p) = /^(!)?DRIVER"(.*)"/) { + } elsif (($inv, $p) = /^(!)?DRIVER"(.*)"/) { ($inv xor detect_devices::matching_driver($p)) and $ok = 1; 0; } else { -- cgit v1.2.1