mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 16:36:38 +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)
|
||||
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
|
||||
|
Reference in New Issue
Block a user