diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-09-01 10:10:00 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-09-01 10:10:00 +0000 |
commit | 58d2d82687df098320ea93811b3ede7a65ca7850 (patch) | |
tree | 3dd51b480d8ee263d928474982619dd42600dcc3 /perl-install | |
parent | 527b66ce0ecbf0b6e124b26cb989265a3b98091c (diff) | |
download | drakx-backup-do-not-use-58d2d82687df098320ea93811b3ede7a65ca7850.tar drakx-backup-do-not-use-58d2d82687df098320ea93811b3ede7a65ca7850.tar.gz drakx-backup-do-not-use-58d2d82687df098320ea93811b3ede7a65ca7850.tar.bz2 drakx-backup-do-not-use-58d2d82687df098320ea93811b3ede7a65ca7850.tar.xz drakx-backup-do-not-use-58d2d82687df098320ea93811b3ede7a65ca7850.zip |
handle "=" between keyword and value (esp. useful for reading conectiva's menu.lst) (bugzilla #18090)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index b074aeb0f..47f92062d 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -200,7 +200,7 @@ sub read_grub { chomp; s/^\s*//; s/\s*$//; next if /^#/ || /^$/; - my ($keyword, $v) = split(' ', $_, 2) or + my ($keyword, $v) = split('[ \t=]+', $_, 2) or warn qq(unknown line in /boot/grub/menu.lst: "$_"\n), next; if ($keyword eq 'title') { |