From 6f4afb4e3fb9dcbc96ebaf678719f152ac0c3f8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20S=C3=A1nchez=20Mu=C3=B1oz?= Date: Mon, 28 Nov 2022 20:10:30 +0100 Subject: [PATCH] Make shellcheck happy --- download-distfiles.sh | 2 ++ sysa/helpers.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/download-distfiles.sh b/download-distfiles.sh index efe9eb0..2877cfd 100755 --- a/download-distfiles.sh +++ b/download-distfiles.sh @@ -31,8 +31,10 @@ download_for_sys() { [ -e "${entry}/sources" ] || continue local line + # shellcheck disable=SC2162 while read line; do # This is intentional - we want to split out ${line} into separate arguments. + # shellcheck disable=SC2086 download_source "${distfiles}" ${line} done < "${entry}/sources" done diff --git a/sysa/helpers.sh b/sysa/helpers.sh index a012129..150dd7d 100755 --- a/sysa/helpers.sh +++ b/sysa/helpers.sh @@ -131,7 +131,7 @@ build() { script_name=${2:-${pkg}.sh} dirname=${4:-${pkg}} - # shellcheck ignore=SC2015 + # shellcheck disable=SC2015 bin_preseed && return || true # Normal build if preseed fails cd "${SOURCES}/${pkg}" || (echo "Cannot cd into ${pkg}!"; kill $$)