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 <chris@chris-lamb.co.uk>
This commit is contained in:
Chris Lamb 2008-07-05 00:54:00 +01:00
parent 3205bb9409
commit d3f15a317f
1 changed files with 4 additions and 1 deletions

View File

@ -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}" ]