From 2fcf0222f72d1610cb682ad156942597166da529 Mon Sep 17 00:00:00 2001 From: Tomas Barton Date: Fri, 11 Mar 2016 22:18:40 +0100 Subject: [PATCH] fix comparing string to a number --- common/download.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/download.sh b/common/download.sh index 900159b..38e8975 100755 --- a/common/download.sh +++ b/common/download.sh @@ -39,7 +39,7 @@ elif [ ${DISTRIBUTION} = 'fedora' -a "${RELEASE}" = 'rawhide' ]; then utils.lxc.create -t fedora --\ --release ${RELEASE} \ --arch ${ARCH} -elif [ ${DISTRIBUTION} = 'fedora' -a ${RELEASE} -ge 21 ]; then +elif [[ ( ${DISTRIBUTION} = 'fedora' ) && ( ${RELEASE} -ge 21 ) ]]; then ARCH=$(echo ${ARCH} | sed -e "s/38/68/" | sed -e "s/amd64/x86_64/") utils.lxc.create -t fedora --\ --release ${RELEASE} \