summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-06 05:19:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-06 05:19:06 +0000
commit2e92e5f731d006c1bbdd5ded2178664f23a23d83 (patch)
treeeb379c14304acfd9ef5f4a80343f86e91b5379f3
parent50da598a3eb88f02f4d240aae7ee7e591d25cb84 (diff)
downloaddrakx-backup-do-not-use-2e92e5f731d006c1bbdd5ded2178664f23a23d83.tar
drakx-backup-do-not-use-2e92e5f731d006c1bbdd5ded2178664f23a23d83.tar.gz
drakx-backup-do-not-use-2e92e5f731d006c1bbdd5ded2178664f23a23d83.tar.bz2
drakx-backup-do-not-use-2e92e5f731d006c1bbdd5ded2178664f23a23d83.tar.xz
drakx-backup-do-not-use-2e92e5f731d006c1bbdd5ded2178664f23a23d83.zip
remove unneeded spaces in append=" foo"
-rw-r--r--perl-install/bootloader.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 7d6afbe1d..7c8f5eb8d 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -281,6 +281,7 @@ sub read_lilo() {
local ($_) = @_;
s/^\s*//; s/\s*$//;
s/^"(.*?)"$/$1/;
+ s/^\s*//; s/\s*$//; #- do it again for append=" foo"
$_;
}
$_->{append} = remove_quotes_and_spaces($_->{append}) foreach \%b, @{$b{entries}};