[SCM] Debian Live build scripts branch, master, updated. 1.0.3-2-24-g39ffd7c

Daniel Baumann daniel at debian.org
Sun Mar 1 12:32:39 UTC 2009


The following commit has been merged in the master branch:
commit 39ffd7c6b882f6a8a00c6856c15934d3f0ffacd8
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Mar 1 13:28:42 2009 +0100

    Adding missing use of which in defaults setting of bootstrap program.

diff --git a/functions/defaults.sh b/functions/defaults.sh
index 5f790d4..d695f00 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -85,7 +85,7 @@ Set_defaults ()
 	LH_APT_SECURE="${LH_APT_SECURE:-enabled}"
 
 	# Setting bootstrap program
-	if [ -z "${LH_BOOTSTRAP}" ] || ( [ ! -x "${LH_BOOTSTRAP}" ] && [ "${LH_BOOTSTRAP}" != "copy" ] )
+	if [ -z "${LH_BOOTSTRAP}" ] || ( [ ! -x "$(which ${LH_BOOTSTRAP} 2>/dev/null)" ] && [ "${LH_BOOTSTRAP}" != "copy" ] )
 	then
 		if [ -x "/usr/sbin/debootstrap" ]
 		then

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list