summaryrefslogtreecommitdiff
path: root/scripts/build/testroot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/testroot')
-rwxr-xr-xscripts/build/testroot4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/testroot b/scripts/build/testroot
index 7a6799925..52a05d270 100755
--- a/scripts/build/testroot
+++ b/scripts/build/testroot
@@ -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 'ensure that a system is built as root')"
@@ -25,7 +25,7 @@ Read_conffiles config/all config/common config/bootstrap config/chroot config/bi
Set_defaults
# Checking user account
-if [ "$(${LH_ROOT_COMMAND} id -u)" -ne "0" ]
+if [ "$(${LB_ROOT_COMMAND} id -u)" -ne "0" ]
then
Echo_error "need root privileges"
exit 1