From d3f15a317f6f6711f24ec057c6193bd6589222f0 Mon Sep 17 00:00:00 2001 From: Chris Lamb 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) Signed-off-by: Chris Lamb --- functions/defaults.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'functions') diff --git a/functions/defaults.sh b/functions/defaults.sh index 591eb07d2..4bf3f749d 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.2.3