summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-08-27 14:55:15 +0200
committerDaniel Baumann <daniel@debian.org>2012-08-27 15:03:21 +0200
commitd0561821e401346fe29d56e1264c235fed77ae87 (patch)
tree815475185718ea1e378a7796b8aa55aca9c8d6f5 /bin
parent365e4c81c5392b17f39f76f49e3bb581ac830568 (diff)
downloadvyos-live-build-d0561821e401346fe29d56e1264c235fed77ae87.tar.gz
vyos-live-build-d0561821e401346fe29d56e1264c235fed77ae87.zip
Calling local live-build embedded in config directly rather than to adjust path.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/lb4
1 files changed, 4 insertions, 0 deletions
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