summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_net
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_net
parentc68c0a270832ca340429878ce6a0ab606d435b06 (diff)
downloadlive-build-0d0de885e32ff67d57bb7def451b62d75b8920ab.zip
live-build-0d0de885e32ff67d57bb7def451b62d75b8920ab.tar.gz
Adding live-helper 1.0~a22-1.
Diffstat (limited to 'helpers/lh_binary_net')
-rwxr-xr-xhelpers/lh_binary_net12
1 files changed, 6 insertions, 6 deletions
diff --git a/helpers/lh_binary_net b/helpers/lh_binary_net
index 0347663..40286d4 100755
--- a/helpers/lh_binary_net
+++ b/helpers/lh_binary_net
@@ -32,7 +32,7 @@ Read_conffile config/binary
Read_conffile config/source
Set_defaults
-if ! echo "${LIVE_BINARY_IMAGES}" | grep -qs net
+if ! echo "${LH_BINARY_IMAGES}" | grep -qs net
then
exit 0
fi
@@ -58,21 +58,21 @@ then
fi
# Creating image file
-if [ "`basename ${LIVE_NET_PATH}`" = "chroot" ]
+if [ "`basename ${LH_NET_PATH}`" = "chroot" ]
then
mv chroot chroot.tmp
fi
-mv binary "`basename ${LIVE_NET_PATH}`"
+mv binary "`basename ${LH_NET_PATH}`"
cd ..
-tar cfz binary-net.tar.gz "`basename ${OLDPWD}`/`basename ${LIVE_NET_PATH}`" "`basename ${OLDPWD}`/tftpboot"
+tar cfz binary-net.tar.gz "`basename ${OLDPWD}`/`basename ${LH_NET_PATH}`" "`basename ${OLDPWD}`/tftpboot"
mv binary-net.tar.gz "${OLDPWD}"
cd "${OLDPWD}"
-mv "`basename ${LIVE_NET_PATH}`" binary
+mv "`basename ${LH_NET_PATH}`" binary
-if [ "`basename ${LIVE_NET_PATH}`" = "chroot" ]
+if [ "`basename ${LH_NET_PATH}`" = "chroot" ]
then
mv chroot.tmp chroot
fi