summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_disk
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-24 08:47:42 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-24 08:47:42 +0200
commita03cfd36b80e6a37234440bfcf9ba2d3e33811b7 (patch)
tree6d9d0c85e7141243e0b40adcd847d1cc7c479448 /helpers/lh_binary_disk
parent9377334c155c23018b1442ed640fe248505285a3 (diff)
downloadvyos-live-build-a03cfd36b80e6a37234440bfcf9ba2d3e33811b7.tar.gz
vyos-live-build-a03cfd36b80e6a37234440bfcf9ba2d3e33811b7.zip
Replacing backticks with POSIX expression.
Diffstat (limited to 'helpers/lh_binary_disk')
-rwxr-xr-xhelpers/lh_binary_disk18
1 files changed, 9 insertions, 9 deletions
diff --git a/helpers/lh_binary_disk b/helpers/lh_binary_disk
index 99d3117dd..26905e6cd 100755
--- a/helpers/lh_binary_disk
+++ b/helpers/lh_binary_disk
@@ -54,10 +54,10 @@ Create_lockfile .lock
mkdir -p binary/.disk
-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 [ "${LH_DISTRIBUTION}" != "etch" ]
then
@@ -74,7 +74,7 @@ case "${LH_MODE}" in
echo "full_cd" > binary/.disk/cd_type
- echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} CD Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info
+ echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} CD Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info
cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_udeb_include binary/.disk/udeb_include
;;
@@ -86,7 +86,7 @@ case "${LH_MODE}" in
echo "not_complete" > binary/.disk/cd_type
- echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} NETINST Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info
+ echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} NETINST Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info
cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_netinst_udeb_include binary/.disk/udeb_include
@@ -101,20 +101,20 @@ case "${LH_MODE}" in
echo "not_complete" > binary/.disk/cd_type
- echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} BC Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info
+ echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} BC Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info
cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_businesscard_udeb_include binary/.disk/udeb_include
;;
disabled)
- echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} LIVE Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info
+ echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} LIVE Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info
;;
esac
;;
ubuntu)
# FIXME
- echo "Ubuntu Linux ${VERSION} \"${DISTRIBUTION}\" - Unofficial ${ARCHITECTURE} LIVE/NETINST Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info
+ echo "Ubuntu Linux ${VERSION} \"${DISTRIBUTION}\" - Unofficial ${ARCHITECTURE} LIVE/NETINST Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info
# Ubuntu 7.04 "Feisty Fawn" - Release i386 (20070418)
;;
esac