diff options
author | Daniel Baumann <daniel@debian.org> | 2012-08-27 14:54:20 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-08-27 14:54:20 +0200 |
commit | 365e4c81c5392b17f39f76f49e3bb581ac830568 (patch) | |
tree | af3be870659eb7e1ae34e7835853d7fa2cdf3aed | |
parent | 80bfaf9f0a316bc6c95d461fe9344ebff3a46a8b (diff) | |
download | vyos-live-build-365e4c81c5392b17f39f76f49e3bb581ac830568.tar.gz vyos-live-build-365e4c81c5392b17f39f76f49e3bb581ac830568.zip |
Adding some comments about the different locations of live-build in the central lb wrapper.
-rwxr-xr-x | bin/lb | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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}" |