From c68409c546b98c98aa628c43b296526c38d223b0 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 25 Nov 2024 14:27:23 +0100 Subject: [PATCH] +sc --- sh/main.sh | 2 +- sh/shell.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sh/main.sh b/sh/main.sh index 3ce303c..61637fb 100644 --- a/sh/main.sh +++ b/sh/main.sh @@ -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 diff --git a/sh/shell.sh b/sh/shell.sh index 720c884..733d823 100644 --- a/sh/shell.sh +++ b/sh/shell.sh @@ -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