This commit is contained in:
Marc Beninca 2024-11-25 14:27:23 +01:00
parent 0eaebdf401
commit c68409c546
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,7 @@ main_source_directory() {
_sh_main_log "${module%.sh}"
module="${path}/${module}"
if [ "${module}" != "${ENV}" ]; then
# shellcheck disable=1090
# shellcheck disable=SC1090
. "${module}"
cmd="$(_sh_main_commands "${module}")"
if [ -n "${cmd}" ]; then

View file

@ -33,7 +33,7 @@ sh_shell_configure() {
local root="/usr/share/bash-completion"
local file="bash_completion"
local path="${root}/${file}"
# shellcheck disable=1090
# shellcheck disable=SC1090
[ -f "${path}" ] && . "${path}"
root="${root}/completions"
if [ -d "${root}" ]; then
@ -42,7 +42,7 @@ sh_shell_configure() {
"tar"
for file in "${@}"; do
path="${root}/${file}"
# shellcheck disable=1090
# shellcheck disable=SC1090
[ -f "${path}" ] && . "${path}"
done
fi