[Debian-live-changes] r2373 - dists/trunk/live-helper/helpers

matth-guest at alioth.debian.org matth-guest at alioth.debian.org
Mon Jul 2 17:22:15 UTC 2007


Author: matth-guest
Date: 2007-07-02 17:22:15 +0000 (Mon, 02 Jul 2007)
New Revision: 2373

Modified:
   dists/trunk/live-helper/helpers/lh_binary_syslinux
Log:
fix isolinux paths


Modified: dists/trunk/live-helper/helpers/lh_binary_syslinux
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_syslinux	2007-07-02 14:49:10 UTC (rev 2372)
+++ dists/trunk/live-helper/helpers/lh_binary_syslinux	2007-07-02 17:22:15 UTC (rev 2373)
@@ -73,7 +73,7 @@
 
 	# pxelinux and syslinux << 3.36 lacks support to file/path
 	DIRECTORY="/`basename ${DESTDIR_LIVE}`"
-	if [ "${LIVE_BINARY_IMAGES}" != "net" ] && [ "${DIRECTORY}" != "binary" ]
+	if [ "${LIVE_BINARY_IMAGES}" != "net" ] && [ "${DIRECTORY}" != "/binary" ]
 	then
 		KERNEL="${DIRECTORY}/${KERNEL}"
 		INITRD="${DIRECTORY}/${INITRD}"
@@ -92,8 +92,8 @@
 	APPEND="${4}"
 
 	# pxelinux and syslinux << 3.36 lacks support to file/path
-	DIRECTORY="`basename ${DESTDIR_INSTALL}`"
-	if [ "${LIVE_BINARY_IMAGES}" != "net" ] && [ "${DIRECTORY}" != "binary" ]
+	DIRECTORY="/`basename ${DESTDIR_INSTALL}`"
+	if [ "${LIVE_BINARY_IMAGES}" != "net" ] && [ "${DIRECTORY}" != "/binary" ]
 	then
 		KERNEL="${DIRECTORY}/${KERNEL}"
 		INITRD="${DIRECTORY}/${INITRD}"




More information about the Debian-live-changes mailing list