diff options
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/lb | 6 | ||||
-rwxr-xr-x | scripts/build/lb_clean | 14 |
2 files changed, 10 insertions, 10 deletions
diff --git a/scripts/build/lb b/scripts/build/lb index d0b10f7..f64967a 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 814a844..54fc3b3 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 |