Adding some comments about the different locations of live-build in the central lb wrapper.
This commit is contained in:
parent
80bfaf9f0a
commit
365e4c81c5
3
bin/lb
3
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}"
|
||||
|
|
Loading…
Reference in New Issue