From 1ef201c400bb53c3a3fcc397bb7ce8052d37f56b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 21 Apr 2026 18:03:29 +0200 Subject: [PATCH] tools: Fix shellcheck issues in download-with-oras-cache.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 --- tools/packaging/scripts/download-with-oras-cache.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/packaging/scripts/download-with-oras-cache.sh b/tools/packaging/scripts/download-with-oras-cache.sh index 28a0eed789..83cd728b13 100755 --- a/tools/packaging/scripts/download-with-oras-cache.sh +++ b/tools/packaging/scripts/download-with-oras-cache.sh @@ -19,9 +19,10 @@ script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # Source lib.sh for common functions (die, info, get_from_kata_deps, arch_to_golang, etc.) if [[ -f "${script_dir}/lib.sh" ]]; then + # shellcheck source=/dev/null source "${script_dir}/lib.sh" elif [[ -f "${script_dir}/../../tools/packaging/scripts/lib.sh" ]]; then - # When sourced from ci/install_libseccomp.sh in the repo + # shellcheck source=/dev/null source "${script_dir}/../../tools/packaging/scripts/lib.sh" fi