summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_dpkg
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_dpkg')
-rwxr-xr-xscripts/build/chroot_dpkg12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/build/chroot_dpkg b/scripts/build/chroot_dpkg
index b9fa840e0..c67d8eb96 100755
--- a/scripts/build/chroot_dpkg
+++ b/scripts/build/chroot_dpkg
@@ -64,10 +64,10 @@ EOF
# samhain
if [ -e /var/state/samhain/samhain_file ]
then
- ${LB_ROOT_COMMAND} mv /var/state/samhain/samhain_file /var/state/samhain/samhain_file.orig
+ mv /var/state/samhain/samhain_file /var/state/samhain/samhain_file.orig
else
- ${LB_ROOT_COMMAND} mkdir -p /var/state/samhain
- ${LB_ROOT_COMMAND} touch /var/state/samhain/samhain_file
+ mkdir -p /var/state/samhain
+ touch /var/state/samhain/samhain_file
fi
# flash-kernel
@@ -96,11 +96,11 @@ EOF
# samhain
if [ -e /var/state/samhain/samhain_file.orig ]
then
- ${LB_ROOT_COMMAND} mv /var/state/samhain/samhain_file.orig /var/state/samhain/samhain_file
+ mv /var/state/samhain/samhain_file.orig /var/state/samhain/samhain_file
elif [ -d /var/state/samhain ]
then
- ${LB_ROOT_COMMAND} rm -f /var/state/samhain/samhain_file
- ${LB_ROOT_COMMAND} rmdir --ignore-fail-on-non-empty /var/state/samhain || true
+ rm -f /var/state/samhain/samhain_file
+ rmdir --ignore-fail-on-non-empty /var/state/samhain || true
fi
# Restore start-stop-daemon program