logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: 6f4afb4e3fb9dcbc96ebaf678719f152ac0c3f8c
parent d91e31e6a225f2017eed88952ecff4407508055f
Author: Eduardo Sánchez Muñoz <eduardosm-dev@e64.io>
Date:   Mon, 28 Nov 2022 20:10:30 +0100

Make shellcheck happy

Diffstat:

Mdownload-distfiles.sh2++
Msysa/helpers.sh2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git 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 @@ -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 $$)