From 3574ac40be1cbd11fa0610352f921976b254ccea Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 8 Oct 2007 09:17:45 -0300 Subject: fix version guessing using proper evaluation --- helpers/lh_binary_disk | 2 +- helpers/lh_binary_includes | 2 +- helpers/lh_source_disk | 2 +- 3 files changed, 3 insertions(+), 3 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 diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_includes index e90716b..b4230a8 100755 --- a/helpers/lh_binary_includes +++ b/helpers/lh_binary_includes @@ -136,7 +136,7 @@ then 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 [ -d binary/pool/main/l/live-installer ] then diff --git a/helpers/lh_source_disk b/helpers/lh_source_disk index 3b7a95a..b744a8a 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) -- cgit v1.0