eprefix-activate: disable stupid shellcheck QA

how should i specify a path to file that does not exist on a QA docker image???
This commit is contained in:
XGQT 2020-04-12 14:33:57 +02:00
parent f6e8f18a9a
commit d52729186c
No known key found for this signature in database
GPG Key ID: 2089DEC77862433A
1 changed files with 2 additions and 2 deletions

View File

@ -105,8 +105,8 @@ eprefix_addman "${EPREFIX}/usr/share/man"
# Process .sh files
for sh in "${EPREFIX}"/etc/profile.d/*.sh
do
# shellcheck source="${EPREFIX}"/etc/profile.d/*.sh
[ -r "$sh" ] && . "$sh"
# shellcheck disable=SC1090 disable=SC1091
[ -r "${sh}" ] && source "${sh}"
done
unset sh