summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_net
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:09 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:29 +0100
commit97c3a13dcc9becf93cb7c2aa89ea3e00f06b9179 (patch)
treed7facbbbf53b1a5bc0fa92f671f5b1e29a7e3200 /helpers/lh_binary_net
parent7c68e6ebca01f64501453fa53941ac77b9c2c335 (diff)
downloadlive-build-97c3a13dcc9becf93cb7c2aa89ea3e00f06b9179.zip
live-build-97c3a13dcc9becf93cb7c2aa89ea3e00f06b9179.tar.gz
Adding live-helper 1.0~a10-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 47ed7d2..6ebe7ea 100755
--- a/helpers/lh_binary_net
+++ b/helpers/lh_binary_net
@@ -34,7 +34,7 @@ Set_defaults
Breakpoint "binary_net: Init"
-for IMAGE in ${LIVE_BINARY_IMAGE}
+for IMAGE in ${LIVE_BINARY_IMAGES}
do
if [ "${IMAGE}" = "net" ]
then
@@ -57,21 +57,21 @@ do
fi
# Creating image file
- if [ "`basename ${LIVE_SERVER_PATH}`" = "chroot" ]
+ if [ "`basename ${LIVE_NET_PATH}`" = "chroot" ]
then
mv chroot chroot.tmp
fi
- mv binary "`basename ${LIVE_SERVER_PATH}`"
+ mv binary "`basename ${LIVE_NET_PATH}`"
cd ..
- tar cfz binary-net.tar.gz "`basename ${OLDPWD}`/`basename ${LIVE_SERVER_PATH}`" "`basename ${OLDPWD}`/tftpboot"
+ tar cfz binary-net.tar.gz "`basename ${OLDPWD}`/`basename ${LIVE_NET_PATH}`" "`basename ${OLDPWD}`/tftpboot"
mv binary-net.tar.gz "${OLDPWD}"
cd "${OLDPWD}"
- mv "`basename ${LIVE_SERVER_PATH}`" binary
+ mv "`basename ${LIVE_NET_PATH}`" binary
- if [ "`basename ${LIVE_SERVER_PATH}`" = "chroot" ]
+ if [ "`basename ${LIVE_NET_PATH}`" = "chroot" ]
then
mv chroot.tmp chroot
fi