setup.sh: shellcheck disable=SC1090

https://github.com/koalaman/shellcheck/wiki/SC1090
This commit is contained in:
happysalada 2021-06-23 16:31:16 +09:00 committed by Raphael Megzari
parent 796f1cdbea
commit 8dbbd8fbe3

View File

@ -70,6 +70,7 @@ _callImplicitHook() {
if declare -F "$hookName" > /dev/null; then
"$hookName"
elif test -e "$hookName" ; then
# shellcheck disable=SC1090
source "$hookName"
elif [ -n "${!hookName:-}" ]; then
eval "${!hookName}"
@ -484,6 +485,7 @@ activatePackage() {
(( "$hostOffset" <= "$targetOffset" )) || exit 1
if [ -f "$pkg" ]; then
# shellcheck disable=SC1090
source "$pkg"
fi
@ -1287,6 +1289,7 @@ showPhaseHeader() {
genericBuild() {
if [ -f "${buildCommandPath:-}" ]; then
# shellcheck disable=SC1090
source "$buildCommandPath"
return
fi