From 58d2d82687df098320ea93811b3ede7a65ca7850 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 1 Sep 2005 10:10:00 +0000 Subject: handle "=" between keyword and value (esp. useful for reading conectiva's menu.lst) (bugzilla #18090) --- perl-install/bootloader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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') { -- cgit v1.2.1