From 55bd8d23b1d2329b91744b6edfcf99056f3366c2 Mon Sep 17 00:00:00 2001 From: Steve McIntyre <93sam@debian.org> Date: Sun, 8 Jun 2008 22:17:30 +0000 Subject: [PATCH] better anchor for search --- tools/boot/lenny/boot-x86 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/boot/lenny/boot-x86 b/tools/boot/lenny/boot-x86 index 96e271d4..b49ace39 100644 --- a/tools/boot/lenny/boot-x86 +++ b/tools/boot/lenny/boot-x86 @@ -272,7 +272,7 @@ if [ "$THISTYPE" = "isolinux" ]; then if [ -n "$KERNEL_PARAMS" ]; then # Substitute custom kernel params into the isolinux config # file(s) - sed -i "/[[:space:]]\+append .*--/ s|append|append $KERNEL_PARAMS|" boot$N/$ISOLINUXDIR/*.cfg + sed -i "/^[[:space:]]\+append .*--/ s|append|append $KERNEL_PARAMS|" boot$N/$ISOLINUXDIR/*.cfg fi else