Fixing build failure in lh_binary_syslinux that occurs if exithelp.cfg does not exist.

This commit is contained in:
Cody A.W. Somerville 2009-06-08 07:36:05 +02:00 committed by Daniel Baumann
parent 5239579ad0
commit 16ba7aa98e
1 changed files with 4 additions and 1 deletions

View File

@ -294,7 +294,10 @@ Configure_syslinux_templates ()
$template_file
done
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" ]