summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_virtual-hdd
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_binary_virtual-hdd')
-rwxr-xr-xhelpers/lh_binary_virtual-hdd4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_virtual-hdd b/helpers/lh_binary_virtual-hdd
index 83dec0c..6a65d19 100755
--- a/helpers/lh_binary_virtual-hdd
+++ b/helpers/lh_binary_virtual-hdd
@@ -42,7 +42,7 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-if [ "${LH_CHROOT_BUILD}" = "enabled" ]
+if [ "${LH_CHROOT_BUILD}" = "true" ]
then
case "${LH_BINARY_FILESYSTEM}" in
ext2|ext3)
@@ -66,7 +66,7 @@ fi
Echo_message "Creating virtual disk image..."
dd if=/dev/zero of=binary-virtual.img bs=1024k count=0 seek=${LH_VIRTUAL_ROOT_SIZE}
-if [ "${LH_CHROOT_BUILD}" = "enabled" ]
+if [ "${LH_CHROOT_BUILD}" = "true" ]
then
mv binary-virtual.img chroot