fix version guessing using proper evaluation
This commit is contained in:
parent
a516cac94f
commit
30fb0c2272
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue