summaryrefslogtreecommitdiff
path: root/helpers/lh_source_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_source_disk
parent91d3e8b55cf7da604000d016f26e6bd0fa0d682e (diff)
downloadvyos-live-build-3574ac40be1cbd11fa0610352f921976b254ccea.tar.gz
vyos-live-build-3574ac40be1cbd11fa0610352f921976b254ccea.zip
fix version guessing using proper evaluation
Diffstat (limited to 'helpers/lh_source_disk')
-rwxr-xr-xhelpers/lh_source_disk2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_source_disk b/helpers/lh_source_disk
index 3b7a95ac7..b744a8a54 100755
--- a/helpers/lh_source_disk
+++ b/helpers/lh_source_disk
@@ -57,7 +57,7 @@ mkdir -p source/.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}`"
case "${LH_MODE}" in
debian)