summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_includes
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_includes
parent81a76d4adc812c16be8238fedda25bd43ab3a379 (diff)
downloadvyos-live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.tar.gz
vyos-live-build-f2734daf0a9519db6b303683d3ac413a20d56e2a.zip
Replacing backticks with POSIX expression.
Diffstat (limited to 'helpers/lh_binary_includes')
-rwxr-xr-xhelpers/lh_binary_includes12
1 files changed, 6 insertions, 6 deletions
diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_includes
index 83f207eee..e90716ba2 100755
--- a/helpers/lh_binary_includes
+++ b/helpers/lh_binary_includes
@@ -133,10 +133,10 @@ then
fi
# Adjusting install templates
- 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}`"
+ 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})"
if [ -d binary/pool/main/l/live-installer ]
then
@@ -145,8 +145,8 @@ then
TYPE="LIVE/NETINST"
- DEBIAN_NAME="Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} ${TYPE} Binary `date +%Y%m%d-%H:%M`"
- DEBIAN_DATE="`date +%Y%m%d-%H:%M`"
+ DEBIAN_NAME="Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} ${TYPE} Binary $(date +%Y%m%d-%H:%M)"
+ DEBIAN_DATE="$(date +%Y%m%d-%H:%M)"
if [ "${LH_ARCHITECTURE}" = "i386" ]
then