From 365e4c81c5392b17f39f76f49e3bb581ac830568 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 27 Aug 2012 14:54:20 +0200 Subject: Adding some comments about the different locations of live-build in the central lb wrapper. --- bin/lb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/lb b/bin/lb index 2445faa41..7ea44cdb1 100755 --- a/bin/lb +++ b/bin/lb @@ -55,12 +55,15 @@ case "${1}" in if [ -x "${LIVE_BUILD}/scripts/build/${COMMAND}" ] then + # User has live-build copied locally in the system SCRIPT="${LIVE_BUILD}/scripts/build/${COMMAND}" elif [ -x /usr/lib/live/build/${COMMAND} ] then + # User has live-build installed in the system SCRIPT=/usr/lib/live/build/"${COMMAND}" elif [ -x "$(which ${COMMAND} 2>/dev/null)" ] then + # User has live-build commands in path SCRIPT="${COMMAND}" else Echo_error "no such script: ${COMMAND}" -- cgit v1.2.3