From 288296dacda8eb26b8b9b9c0f0be33a97aaabda4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 28 Jul 2023 15:51:45 +0200 Subject: [PATCH] kata-deploy: We need shim to an array, not a string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In order to do so, we need the `()` around the `shim_{arch}`. Fixes: #7422 Signed-off-by: Fabiano FidĂȘncio --- tools/packaging/kata-deploy/scripts/kata-deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/packaging/kata-deploy/scripts/kata-deploy.sh b/tools/packaging/kata-deploy/scripts/kata-deploy.sh index f941244a02..020e0dcf6f 100755 --- a/tools/packaging/kata-deploy/scripts/kata-deploy.sh +++ b/tools/packaging/kata-deploy/scripts/kata-deploy.sh @@ -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