From d52729186c9fca4b90891cce9262c65ae94acc3b Mon Sep 17 00:00:00 2001 From: XGQT Date: Sun, 12 Apr 2020 14:33:57 +0200 Subject: [PATCH] eprefix-activate: disable stupid shellcheck QA how should i specify a path to file that does not exist on a QA docker image??? --- src/eprefix-activate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eprefix-activate b/src/eprefix-activate index 14c4148..e8d4f69 100644 --- a/src/eprefix-activate +++ b/src/eprefix-activate @@ -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