From c184c0a74fb22852985ff32da31fdf3a331c15dd Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Sat, 5 Jul 2008 00:54:00 +0100
Subject: Perform in LH_BOOTAPPEND_INSTALL conditional expansion manually to
 avoid expansion bug/feature on repetitive calls to lh_config (Closes:
 #488672)

---
 functions/defaults.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/functions/defaults.sh b/functions/defaults.sh
index 591eb07..4bf3f74 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -506,7 +506,10 @@ Set_defaults ()
 
 	# Setting boot parameters
 	# LH_BOOTAPPEND_LIVE
-	LH_BOOTAPPEND_INSTALL="${LH_BOOTAPPEND_INSTALL:--- \${LH_BOOTAPPEND_LIVE}}"
+	if [ -z "${LH_BOOTAPPEND_INSTALL}" ]
+	then
+		LH_BOOTAPPEND_INSTALL="-- \${LH_BOOTAPPEND_LIVE}"
+	fi
 
 	# Setting bootloader
 	if [ -z "${LH_BOOTLOADER}" ]
-- 
cgit v1.0