summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_net
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-24 08:47:42 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:27 +0100
commitf2734daf0a9519db6b303683d3ac413a20d56e2a (patch)
tree6d9d0c85e7141243e0b40adcd847d1cc7c479448 /helpers/lh_binary_net
parent81a76d4adc812c16be8238fedda25bd43ab3a379 (diff)
downloadlive-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.zip
live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.tar.gz
Replacing backticks with POSIX expression.
Diffstat (limited to 'helpers/lh_binary_net')
-rwxr-xr-xhelpers/lh_binary_net10
1 files changed, 5 insertions, 5 deletions
diff --git a/helpers/lh_binary_net b/helpers/lh_binary_net
index 2fb6e2c..ac7464e 100755
--- a/helpers/lh_binary_net
+++ b/helpers/lh_binary_net
@@ -59,21 +59,21 @@ then
fi
# Creating image file
-if [ "`basename ${LH_NET_PATH}`" = "chroot" ]
+if [ "$(basename ${LH_NET_PATH})" = "chroot" ]
then
mv chroot chroot.tmp
fi
-mv binary "`basename ${LH_NET_PATH}`"
+mv binary "$(basename ${LH_NET_PATH})"
cd ..
-tar cfz binary-net.tar.gz "`basename ${OLDPWD}`/`basename ${LH_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 ${LH_NET_PATH}`" binary
+mv "$(basename ${LH_NET_PATH})" binary
-if [ "`basename ${LH_NET_PATH}`" = "chroot" ]
+if [ "$(basename ${LH_NET_PATH})" = "chroot" ]
then
mv chroot.tmp chroot
fi