[SCM] Debian Live build scripts branch, master, updated. 1.0.3-2-67-g9980fb2

Daniel Baumann daniel at debian.org
Mon Jun 8 05:45:06 UTC 2009


The following commit has been merged in the master branch:
commit 9980fb235fc54b1e23bf3fe2e95dba009663c36e
Author: Cody A.W. Somerville <cody.somerville at canonical.com>
Date:   Mon Jun 8 07:36:05 2009 +0200

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

diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index 5e5009a..d69b8a0 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" ]

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list