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>2009-12-13 21:17:45 +0100
commit0b285d1c45dbe1c0fc21136ccec2e41c214acdc0 (patch)
tree7e7cc9f57ceb0d3700ee13541944efb044ae9d60 /helpers/lh_binary_iso
parentea05bbb3cae86270f0f8b1150566b9925e1abb3d (diff)
downloadvyos-live-build-0b285d1c45dbe1c0fc21136ccec2e41c214acdc0.tar.gz
vyos-live-build-0b285d1c45dbe1c0fc21136ccec2e41c214acdc0.zip
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 edf21a0df..47529d6a7 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
;;