summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_disk
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:17 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:26 +0100
commit0d0de885e32ff67d57bb7def451b62d75b8920ab (patch)
treecd4a159a86207401dbd5990bc0fa3c28825ab6f8 /helpers/lh_binary_disk
parentc68c0a270832ca340429878ce6a0ab606d435b06 (diff)
downloadlive-build-0d0de885e32ff67d57bb7def451b62d75b8920ab.zip
live-build-0d0de885e32ff67d57bb7def451b62d75b8920ab.tar.gz
Adding live-helper 1.0~a22-1.
Diffstat (limited to 'helpers/lh_binary_disk')
-rwxr-xr-xhelpers/lh_binary_disk12
1 files changed, 6 insertions, 6 deletions
diff --git a/helpers/lh_binary_disk b/helpers/lh_binary_disk
index 3bc1230..5543949 100755
--- a/helpers/lh_binary_disk
+++ b/helpers/lh_binary_disk
@@ -32,7 +32,7 @@ Read_conffile config/binary
Read_conffile config/source
Set_defaults
-if [ "${LIVE_BINARY_IMAGES}" != "iso" ]
+if [ "${LH_BINARY_IMAGES}" != "iso" ]
then
exit 0
fi
@@ -53,10 +53,10 @@ Create_lockfile .lock
mkdir -p binary/.disk
-ARCHITECTURE="`echo ${LIVE_ARCHITECTURE} | sed -e 's# #/#g'`"
-DISTRIBUTION="`echo ${LIVE_DISTRIBUTION} | cut -b 1 | tr '[a-z]' '[A-Z]'`"
-DISTRIBUTION="${DISTRIBUTION}`echo ${LIVE_DISTRIBUTION} | cut -b 2-`"
-eval VERSION="$`echo VERSION_${LIVE_DISTRIBUTION}`"
+ARCHITECTURE="`echo ${LH_ARCHITECTURE} | sed -e 's# #/#g'`"
+DISTRIBUTION="`echo ${LH_DISTRIBUTION} | cut -b 1 | tr '[a-z]' '[A-Z]'`"
+DISTRIBUTION="${DISTRIBUTION}`echo ${LH_DISTRIBUTION} | cut -b 2-`"
+eval VERSION="$`echo VERSION_${LH_DISTRIBUTION}`"
case "${LH_MODE}" in
debian)
@@ -81,7 +81,7 @@ case "${LH_MODE}" in
;;
esac
-if [ "${LIVE_DEBIAN_INSTALLER}" != "disabled" ]
+if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ]
then
echo "main" > binary/.disk/base_components