summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_interactive
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-12-13 21:17:45 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:03 +0100
commit701b5affd403d9a25df311fc422dd33eb4526c34 (patch)
tree7e7cc9f57ceb0d3700ee13541944efb044ae9d60 /helpers/lh_chroot_interactive
parent32930b4a6a14374d2895a4e9247fdc192a91124b (diff)
downloadlive-build-701b5affd403d9a25df311fc422dd33eb4526c34.zip
live-build-701b5affd403d9a25df311fc422dd33eb4526c34.tar.gz
For consistency, using true|false instead of enabled|disabled in configuration options.
Diffstat (limited to 'helpers/lh_chroot_interactive')
-rwxr-xr-xhelpers/lh_chroot_interactive4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_chroot_interactive b/helpers/lh_chroot_interactive
index 242cb66..eb9c011 100755
--- a/helpers/lh_chroot_interactive
+++ b/helpers/lh_chroot_interactive
@@ -23,7 +23,7 @@ Arguments "${@}"
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
-if [ "${LH_INTERACTIVE}" = "disabled" ]
+if [ "${LH_INTERACTIVE}" = "false" ]
then
exit 0
fi
@@ -43,7 +43,7 @@ Check_lockfile .lock
Create_lockfile .lock
case "${LH_INTERACTIVE}" in
- enabled|shell)
+ true|shell)
Echo_message "Pausing build: starting interactive shell..."
Chroot chroot "/bin/bash --login"
;;