summaryrefslogtreecommitdiff
path: root/scripts/build/bootstrap_cache
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-07 15:11:20 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:21 +0100
commit83bc63f725263c571094e3af1c88c58992bf0ac6 (patch)
tree25be3b96127e122c9f1448f6155dea6b03293248 /scripts/build/bootstrap_cache
parent293765885126c0fe429718f403be2802a225cd68 (diff)
downloadlive-build-83bc63f725263c571094e3af1c88c58992bf0ac6.zip
live-build-83bc63f725263c571094e3af1c88c58992bf0ac6.tar.gz
Updating internal variables from lh to lb scheme, should be the last piece to finish the live-helper to live-build rename.
Diffstat (limited to 'scripts/build/bootstrap_cache')
-rwxr-xr-xscripts/build/bootstrap_cache16
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/build/bootstrap_cache b/scripts/build/bootstrap_cache
index af902df..96cac17 100755
--- a/scripts/build/bootstrap_cache
+++ b/scripts/build/bootstrap_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 bootstrap stage')"
@@ -29,7 +29,7 @@ Check_crossarchitecture
Echo_message "Begin caching bootstrap stage..."
-for STAGE in ${LH_CACHE_STAGES}
+for STAGE in ${LB_CACHE_STAGES}
do
if [ "${STAGE}" = "bootstrap" ]
then
@@ -50,11 +50,11 @@ do
rm -rf chroot
# Restoring old cache
- ${LH_ROOT_COMMAND} cp -a cache/stages_bootstrap chroot
+ ${LB_ROOT_COMMAND} cp -a cache/stages_bootstrap 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
@@ -79,11 +79,11 @@ do
mkdir -p cache
- ${LH_ROOT_COMMAND} cp -a chroot cache/stages_bootstrap
+ ${LB_ROOT_COMMAND} cp -a chroot cache/stages_bootstrap
- if [ -n "${LH_ROOT_COMMAND}" ]
+ if [ -n "${LB_ROOT_COMMAND}" ]
then
- ${LH_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/stages_bootstrap
+ ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/stages_bootstrap
fi
# Creating stage file