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_devpts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'scripts/build/chroot_devpts') diff --git a/scripts/build/chroot_devpts b/scripts/build/chroot_devpts index ef864f407..8e7e665cc 100755 --- a/scripts/build/chroot_devpts +++ b/scripts/build/chroot_devpts @@ -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 'mount /dev/pts')" @@ -43,13 +43,13 @@ case "${1}" in # Creating lock file Create_lockfile .lock - if [ "${LH_USE_FAKEROOT}" != "true" ] + if [ "${LB_USE_FAKEROOT}" != "true" ] then # Creating mountpoint mkdir -p chroot/dev/pts # Mounting /dev/pts - ${LH_ROOT_COMMAND} mount devpts-live -t devpts chroot/dev/pts || true + ${LB_ROOT_COMMAND} mount devpts-live -t devpts chroot/dev/pts || true fi # Creating stage file @@ -66,13 +66,13 @@ case "${1}" in Create_lockfile .lock # Unmounting /dev/pts - if [ "${LH_USE_FAKEROOT}" != "true" ] + if [ "${LB_USE_FAKEROOT}" != "true" ] then if grep -qs "$(pwd)/chroot/dev/pts" /proc/mounts || Find_files chroot/dev/pts/* then - ${LH_ROOT_COMMAND} umount chroot/dev/pts + ${LB_ROOT_COMMAND} umount chroot/dev/pts else - ${LH_ROOT_COMMAND} umount -f chroot/dev/pts > /dev/null 2>&1 || true + ${LB_ROOT_COMMAND} umount -f chroot/dev/pts > /dev/null 2>&1 || true fi fi -- cgit v1.2.3