fix comparing string to a number
This commit is contained in:
parent
d471b7576d
commit
2fcf0222f7
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ elif [ ${DISTRIBUTION} = 'fedora' -a "${RELEASE}" = 'rawhide' ]; then
|
||||||
utils.lxc.create -t fedora --\
|
utils.lxc.create -t fedora --\
|
||||||
--release ${RELEASE} \
|
--release ${RELEASE} \
|
||||||
--arch ${ARCH}
|
--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/")
|
ARCH=$(echo ${ARCH} | sed -e "s/38/68/" | sed -e "s/amd64/x86_64/")
|
||||||
utils.lxc.create -t fedora --\
|
utils.lxc.create -t fedora --\
|
||||||
--release ${RELEASE} \
|
--release ${RELEASE} \
|
||||||
|
|
Loading…
Reference in a new issue