mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-05 19:00:04 +00:00
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user