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

Daniel Baumann daniel at alioth.debian.org
Tue Apr 17 14:17:17 UTC 2007


Author: daniel
Date: 2007-04-17 14:17:16 +0000 (Tue, 17 Apr 2007)
New Revision: 1073

Modified:
   dists/trunk/live-helper/helpers/lh_chroot_hooks
Log:


Modified: dists/trunk/live-helper/helpers/lh_chroot_hooks
===================================================================
--- dists/trunk/live-helper/helpers/lh_chroot_hooks	2007-04-17 13:19:26 UTC (rev 1072)
+++ dists/trunk/live-helper/helpers/lh_chroot_hooks	2007-04-17 14:17:16 UTC (rev 1073)
@@ -54,13 +54,13 @@
 		cp /usr/share/live-helper/hooks/"${HOOK}" chroot/root
 
 		# Making hook executable
-		if [ ! -x chroot/root/${HOOK} ]
+		if [ ! -x chroot/root/"${HOOK}" ]
 		then
-			chmod +x chroot/root/${HOOK}
+			chmod +x chroot/root/"${HOOK}"
 		fi
 
 		# Executing hook
-		Chroot "/root/${LIVE_HOOK}"
+		Chroot "/root/${HOOK}"
 
 		# Removing hook
 		rm -f chroot/root/"${HOOK}"




More information about the Debian-live-changes mailing list