diff options
author | Kiel Christofferson <kiel@endpoint.com> | 2014-02-18 17:05:11 -0500 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2014-03-02 06:22:19 +0100 |
commit | 07d1ff5f9bf6b7acd4e1d93870824f84effceb8e (patch) | |
tree | e8f44d93541b5ab4216afc82b56ef905a881f151 /frontend/cli | |
parent | c8daf8fcfd4c7d3747b0c44eb9b82fa4ee3167d5 (diff) | |
download | vyos-live-build-07d1ff5f9bf6b7acd4e1d93870824f84effceb8e.tar.gz vyos-live-build-07d1ff5f9bf6b7acd4e1d93870824f84effceb8e.zip |
Include "components" when detecting local scripts.
This can help facilitate development and testing during the python transition.
Diffstat (limited to 'frontend/cli')
-rwxr-xr-x | frontend/cli/lb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/cli/lb b/frontend/cli/lb index 63e46a9e0..e2862cdcc 100755 --- a/frontend/cli/lb +++ b/frontend/cli/lb @@ -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 |