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_hooks | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/build/chroot_hooks') diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks index 14a99f7ac..ed40b18c0 100755 --- a/scripts/build/chroot_hooks +++ b/scripts/build/chroot_hooks @@ -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 'execute hooks in chroot')" @@ -39,14 +39,14 @@ Check_lockfile .lock Create_lockfile .lock # Processing hooks -HOOKS="$(echo ${LH_HOOKS} ${LH_PACKAGES_LISTS} ${LH_TASKS} | sed -e 's| |\n|g' | sort -u)" +HOOKS="$(echo ${LB_HOOKS} ${LB_PACKAGES_LISTS} ${LB_TASKS} | sed -e 's| |\n|g' | sort -u)" for HOOK in ${HOOKS} do - if [ -f ${LH_BASE:-/usr/share/live/build}/hooks/"${HOOK}" ] + if [ -f ${LB_BASE:-/usr/share/live/build}/hooks/"${HOOK}" ] then # Copying hook - cp ${LH_BASE:-/usr/share/live/build}/hooks/"${HOOK}" chroot/root + cp ${LB_BASE:-/usr/share/live/build}/hooks/"${HOOK}" chroot/root # Making hook executable if [ ! -x chroot/root/"${HOOK}" ] -- cgit v1.2.3