Merge pull request #7482 from fidencio/topic/CCv0-converge-build-and-payload-scripts-follow-up-8

kata-deploy: Fix if-elif-else-statement
This commit is contained in:
Fabiano Fidêncio
2023-07-28 10:59:03 +02:00
committed by GitHub

View File

@@ -44,7 +44,7 @@ shims_s390x+=(
arch=$(uname -m)
if [[ "${arch}" == "x86_64" ]]; then
shims=${shims_x86_64[@]}
else if [[ "${arch}" == "s390x" ]]; then
elif [[ "${arch}" == "s390x" ]]; then
shims=${shims_s390x[@]}
else
die "${arch} is a not supported architecture"