summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_iso
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_binary_iso
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_binary_iso')
-rwxr-xr-xhelpers/lh_binary_iso8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_binary_iso b/helpers/lh_binary_iso
index edf21a0..47529d6 100755
--- a/helpers/lh_binary_iso
+++ b/helpers/lh_binary_iso
@@ -61,12 +61,12 @@ fi
GENISOIMAGE_OPTIONS="-J -l -cache-inodes -allow-multidot"
# Handle genisoimage live-helper specific options
-if [ "${_QUIET}" = "enabled" ]
+if [ "${_QUIET}" = "true" ]
then
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -quiet"
fi
-if [ "${_VERBOSE}" = "enabled" ]
+if [ "${_VERBOSE}" = "true" ]
then
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -v"
fi
@@ -176,7 +176,7 @@ genisoimage ${GENISOIMAGE_OPTIONS} -o binary.iso binary
EOF
case "${LH_CHROOT_BUILD}" in
- enabled)
+ true)
# Moving image
mv binary.sh chroot
mv binary chroot
@@ -188,7 +188,7 @@ case "${LH_CHROOT_BUILD}" in
rm -f chroot/binary.sh
;;
- disabled)
+ false)
sh binary.sh
rm -f binary.sh
;;