Include "components" when detecting local scripts.

This can help facilitate development and testing during the python transition.
This commit is contained in:
Kiel Christofferson 2014-02-18 17:05:11 -05:00 committed by Daniel Baumann
parent c8daf8fcfd
commit 07d1ff5f9b
1 changed files with 4 additions and 0 deletions

View File

@ -67,6 +67,10 @@ case "${1}" in
then
# User has live-build copied locally in the system
SCRIPT="${LIVE_BUILD}/scripts/build/${COMMAND}"
elif [ -x "${LIVE_BUILD}/components/${COMMAND}" ]
then
# User has live-build copied locally in the system
SCRIPT="${LIVE_BUILD}/components/${COMMAND}"
elif [ -x "local/live-build/scripts/build/${COMMAND}" ]
then
# User has live-build copied locally in the config