summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-12-13 23:36:01 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:39 +0100
commit772e2ad4bf4265453aa05e52fdc1c580581a7c9f (patch)
tree92b06397c65e059d38c8dea2f7e9d02cdb7efc26 /scripts
parent18e123ea16d909402c0ac824d0bc39f0c238660d (diff)
downloadvyos-live-build-772e2ad4bf4265453aa05e52fdc1c580581a7c9f.tar.gz
vyos-live-build-772e2ad4bf4265453aa05e52fdc1c580581a7c9f.zip
Removing last live-helper remains in internal variables.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb6
-rwxr-xr-xscripts/build/lb_clean14
2 files changed, 10 insertions, 10 deletions
diff --git a/scripts/build/lb b/scripts/build/lb
index d0b10f73e..f64967ab1 100755
--- a/scripts/build/lb
+++ b/scripts/build/lb
@@ -44,13 +44,13 @@ case "${1}" in
if [ -x "${LB_BASE}/scripts/build/${COMMAND}" ]
then
- LH=1 exec "${LB_BASE}/scripts/build/${COMMAND}" "${@}"
+ LB=1 exec "${LB_BASE}/scripts/build/${COMMAND}" "${@}"
elif [ -x /usr/share/live/build/scripts/build/${COMMAND} ]
then
- LH=1 exec /usr/share/live/build/scripts/build/"${COMMAND}" "${@}"
+ LB=1 exec /usr/share/live/build/scripts/build/"${COMMAND}" "${@}"
elif [ -x "$(which ${COMMAND} 2>/dev/null)" ]
then
- LH=1 exec "${COMMAND}" "${@}"
+ LB=1 exec "${COMMAND}" "${@}"
else
Echo_error "no such script"
exit 1
diff --git a/scripts/build/lb_clean b/scripts/build/lb_clean
index 814a844b9..54fc3b37c 100755
--- a/scripts/build/lb_clean
+++ b/scripts/build/lb_clean
@@ -57,10 +57,10 @@ for ARGUMENT in ${ARGUMENTS}
do
case "${ARGUMENT}" in
--all)
- LH=1 "${0}" noauto --chroot
- LH=1 "${0}" noauto --binary
- LH=1 "${0}" noauto --stage
- LH=1 "${0}" noauto --source
+ LB=1 "${0}" noauto --chroot
+ LB=1 "${0}" noauto --binary
+ LB=1 "${0}" noauto --stage
+ LB=1 "${0}" noauto --source
rmdir --ignore-fail-on-non-empty auto > /dev/null 2>&1 || true
;;
@@ -104,13 +104,13 @@ do
;;
--remove)
- LH=1 "${0}" --all
+ LB=1 "${0}" --all
rm -rf cache/packages_*
;;
--purge)
- LH=1 "${0}" --all
- LH=1 "${0}" --cache
+ LB=1 "${0}" --all
+ LB=1 "${0}" --cache
if [ -e auto/config ]
then