kata-deploy: We need shim to an array, not a string

In order to do so, we need the `()` around the `shim_{arch}`.

Fixes: #7422

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio
2023-07-28 15:51:45 +02:00
parent 607c87ef94
commit 288296dacd

View File

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