summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-12-13 23:37:51 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:31 +0100
commit48f6f2105f07dbe7c7edccb28373355a47747ec1 (patch)
treee515cb127fb336f49decdf402175b91786c90df4 /scripts
parent34ae9036e63b440433a8aabf3c33bf2254e6ad85 (diff)
downloadvyos-live-build-48f6f2105f07dbe7c7edccb28373355a47747ec1.tar.gz
vyos-live-build-48f6f2105f07dbe7c7edccb28373355a47747ec1.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