From d0561821e401346fe29d56e1264c235fed77ae87 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 27 Aug 2012 14:55:15 +0200 Subject: Calling local live-build embedded in config directly rather than to adjust path. --- bin/lb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') diff --git a/bin/lb b/bin/lb index 7ea44cdb1..63c74988a 100755 --- a/bin/lb +++ b/bin/lb @@ -57,6 +57,10 @@ case "${1}" in then # User has live-build copied locally in the system SCRIPT="${LIVE_BUILD}/scripts/build/${COMMAND}" + elif [ -x "local/live-build/scripts/build/${COMMAND}" ] + then + # User has live-build embedded in the config + SCRIPT="local/live-build/scripts/build/${COMMAND}" elif [ -x /usr/lib/live/build/${COMMAND} ] then # User has live-build installed in the system -- cgit v1.2.3