summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-11-13 08:38:33 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-11-13 08:38:33 +0000
commit981b01b4d61bb9fedd4f5b4d5f30da1654e3f226 (patch)
tree4fed3087a9f6327abe61d7dee68319b875effe74 /perl-install/detect_devices.pm
parente14c03b2ae27e3d846c55ddc02143cf1c4a205a3 (diff)
downloaddrakx-981b01b4d61bb9fedd4f5b4d5f30da1654e3f226.tar
drakx-981b01b4d61bb9fedd4f5b4d5f30da1654e3f226.tar.gz
drakx-981b01b4d61bb9fedd4f5b4d5f30da1654e3f226.tar.bz2
drakx-981b01b4d61bb9fedd4f5b4d5f30da1654e3f226.tar.xz
drakx-981b01b4d61bb9fedd4f5b4d5f30da1654e3f226.zip
fix vendor/model spliting when there's neither space nor separator
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
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);