From 16ba7aa98e3caea9de641e4b40ed8186157dc15d Mon Sep 17 00:00:00 2001 From: "Cody A.W. Somerville" Date: Mon, 8 Jun 2009 07:36:05 +0200 Subject: Fixing build failure in lh_binary_syslinux that occurs if exithelp.cfg does not exist. --- helpers/lh_binary_syslinux | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'helpers/lh_binary_syslinux') diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index 5e5009ac2..d69b8a0df 100755 --- a/helpers/lh_binary_syslinux +++ b/helpers/lh_binary_syslinux @@ -294,7 +294,10 @@ Configure_syslinux_templates () $template_file done - sed -i -e 's/isolinux.cfg/syslinux.cfg/' ${SYSLINUX_PATH}/exithelp.cfg + if [ -f "${SYSLINUX_PATH}/exithelp.cfg" ] + then + sed -i -e 's/isolinux.cfg/syslinux.cfg/' ${SYSLINUX_PATH}/exithelp.cfg + fi # Syslinux v3.31 in etch does not support include statements if [ "${LH_DISTRIBUTION}" = "etch" ] -- cgit v1.2.3