mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-22 01:43:04 +00:00
Merge pull request #7484 from fidencio/topic/CCv0-converge-build-and-payload-scripts-follow-up-9
kata-deploy: We need shim to an array, not a string
This commit is contained in:
commit
78522c5802
@ -43,9 +43,9 @@ shims_s390x+=(
|
|||||||
|
|
||||||
arch=$(uname -m)
|
arch=$(uname -m)
|
||||||
if [[ "${arch}" == "x86_64" ]]; then
|
if [[ "${arch}" == "x86_64" ]]; then
|
||||||
shims=${shims_x86_64[@]}
|
shims=(${shims_x86_64[@]})
|
||||||
elif [[ "${arch}" == "s390x" ]]; then
|
elif [[ "${arch}" == "s390x" ]]; then
|
||||||
shims=${shims_s390x[@]}
|
shims=(${shims_s390x[@]})
|
||||||
else
|
else
|
||||||
die "${arch} is a not supported architecture"
|
die "${arch} is a not supported architecture"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user