From a751f84a14b41a4185f219affde6ab8da4ba76de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 21 Apr 2026 18:38:03 +0200 Subject: [PATCH] tools: Fix shellcheck issues in kata-deploy-copy-libseccomp-installer.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix shellcheck warnings and notes identified by running shellcheck --severity=style. Signed-off-by: Fabiano FidĂȘncio --- .../local-build/kata-deploy-copy-libseccomp-installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/packaging/kata-deploy/local-build/kata-deploy-copy-libseccomp-installer.sh b/tools/packaging/kata-deploy/local-build/kata-deploy-copy-libseccomp-installer.sh index 9a35f72532..0e1ac05dc0 100755 --- a/tools/packaging/kata-deploy/local-build/kata-deploy-copy-libseccomp-installer.sh +++ b/tools/packaging/kata-deploy/local-build/kata-deploy-copy-libseccomp-installer.sh @@ -5,7 +5,7 @@ # SPDX-License-Identifier: Apache-2.0 # -[ -z "${DEBUG}" ] || set -x +[[ -z "${DEBUG}" ]] || set -x set -o errexit set -o nounset set -o pipefail @@ -19,4 +19,4 @@ cp "${install_libseccomp_script_src}" "${install_libseccomp_script_dest}" # We don't have to import any other file, as we're passing # the env vars needed for installing libseccomp and gperf. -sed -i -e '/^source.*$/d' ${install_libseccomp_script_dest} +sed -i -e '/^source.*$/d' "${install_libseccomp_script_dest}"