From 981b01b4d61bb9fedd4f5b4d5f30da1654e3f226 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 13 Nov 2002 08:38:33 +0000 Subject: fix vendor/model spliting when there's neither space nor separator --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 9397655ce..3ad4c31b6 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -288,7 +288,7 @@ sub getIDE() { my $num = ord (($d =~ /(.)$/)[0]) - ord 'a'; my ($vendor, $model) = map { - if_($info =~ /^$_\b(-|\s*)(.*)/, $eide_hds{$_}, $2); + if_($info =~ /^$_(-|\s)*(.*)/, $eide_hds{$_}, $2); } keys %eide_hds; my ($channel, $id) = ($num / 2, $num % 2); -- cgit v1.2.1