summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_disk
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@debian.org>2007-10-08 09:17:45 -0300
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:27 +0100
commit3574ac40be1cbd11fa0610352f921976b254ccea (patch)
treedd9cdd446942bb4d21af86429d81bd2e2f2504ca /helpers/lh_binary_disk
parent91d3e8b55cf7da604000d016f26e6bd0fa0d682e (diff)
downloadlive-build-3574ac40be1cbd11fa0610352f921976b254ccea.zip
live-build-3574ac40be1cbd11fa0610352f921976b254ccea.tar.gz
fix version guessing using proper evaluation
Diffstat (limited to 'helpers/lh_binary_disk')
-rwxr-xr-xhelpers/lh_binary_disk2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_binary_disk b/helpers/lh_binary_disk
index 26905e6..e03b0fb 100755
--- a/helpers/lh_binary_disk
+++ b/helpers/lh_binary_disk
@@ -57,7 +57,7 @@ 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})"
+eval VERSION="$`echo VERSION_${LH_DISTRIBUTION}`"
if [ "${LH_DISTRIBUTION}" != "etch" ]
then