From 83bc63f725263c571094e3af1c88c58992bf0ac6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 7 Sep 2010 15:11:20 +0200 Subject: Updating internal variables from lh to lb scheme, should be the last piece to finish the live-helper to live-build rename. --- scripts/build/chroot_cache | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'scripts/build/chroot_cache') diff --git a/scripts/build/chroot_cache b/scripts/build/chroot_cache index 411970516..5050b328b 100755 --- a/scripts/build/chroot_cache +++ b/scripts/build/chroot_cache @@ -11,7 +11,7 @@ set -e # Including common functions -. "${LH_BASE:-/usr/share/live/build}"/scripts/build.sh +. "${LB_BASE:-/usr/share/live/build}"/scripts/build.sh # Setting static variables DESCRIPTION="$(Echo 'cache chroot stage')" @@ -26,7 +26,7 @@ Set_defaults Echo_message "Begin caching chroot stage..." -for STAGE in ${LH_CACHE_STAGES} +for STAGE in ${LB_CACHE_STAGES} do if [ "${STAGE}" = "chroot" ] then @@ -47,11 +47,11 @@ do rm -rf chroot # Restoring old cache - ${LH_ROOT_COMMAND} cp -a cache/stages_chroot chroot + ${LB_ROOT_COMMAND} cp -a cache/stages_chroot chroot - if [ -n "${LH_ROOT_COMMAND}" ] + if [ -n "${LB_ROOT_COMMAND}" ] then - ${LH_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot + ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot fi # Creating stage file @@ -75,11 +75,11 @@ do mkdir -p cache - ${LH_ROOT_COMMAND} cp -a chroot cache/stages_chroot + ${LB_ROOT_COMMAND} cp -a chroot cache/stages_chroot - if [ -n "${LH_ROOT_COMMAND}" ] + if [ -n "${LB_ROOT_COMMAND}" ] then - ${LH_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/stages_chroot + ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/stages_chroot fi # Creating stage file -- cgit v1.2.3