summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_devpts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_devpts')
-rwxr-xr-xscripts/build/chroot_devpts6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/chroot_devpts b/scripts/build/chroot_devpts
index 2f8aa4b63..6b1a348a0 100755
--- a/scripts/build/chroot_devpts
+++ b/scripts/build/chroot_devpts
@@ -49,7 +49,7 @@ case "${1}" in
mkdir -p chroot/dev/pts
# Mounting /dev/pts
- ${LB_ROOT_COMMAND} mount devpts-live -t devpts chroot/dev/pts || true
+ mount devpts-live -t devpts chroot/dev/pts || true
fi
# Creating stage file
@@ -70,9 +70,9 @@ case "${1}" in
then
if grep -qs "$(pwd)/chroot/dev/pts" /proc/mounts || Find_files chroot/dev/pts/*
then
- ${LB_ROOT_COMMAND} umount chroot/dev/pts
+ umount chroot/dev/pts
else
- ${LB_ROOT_COMMAND} umount -f chroot/dev/pts > /dev/null 2>&1 || true
+ umount -f chroot/dev/pts > /dev/null 2>&1 || true
fi
fi