diff options
author | Daniel Baumann <daniel@debian.org> | 2009-03-01 13:28:42 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:43 +0100 |
commit | f2a30e7d0ee6d4204a8e55a3f03a67c78ddec9ac (patch) | |
tree | 6c932afcdc6112ad3736aca9d00c996555529466 | |
parent | 7c4a2c4d645e18abc09871cd794190124d5d901a (diff) | |
download | live-build-f2a30e7d0ee6d4204a8e55a3f03a67c78ddec9ac.zip live-build-f2a30e7d0ee6d4204a8e55a3f03a67c78ddec9ac.tar.gz |
Adding missing use of which in defaults setting of bootstrap program.
-rwxr-xr-x | functions/defaults.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |