Make shellcheck happy

This commit is contained in:
Eduardo Sánchez Muñoz 2022-11-28 20:10:30 +01:00
parent d91e31e6a2
commit 6f4afb4e3f
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

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