From ecff8f16bc3cd12eb0f412f32cd12af75c6ab7cc Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 29 Nov 2024 19:43:06 +0100 Subject: [PATCH] sc/ifs --- sh/lint/shellcheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/lint/shellcheck.sh b/sh/lint/shellcheck.sh index df2c02d..61ef8d6 100644 --- a/sh/lint/shellcheck.sh +++ b/sh/lint/shellcheck.sh @@ -3,12 +3,12 @@ rwx_shellcheck_check() { local file module modules path file="$(mktemp)" modules="$(sh_find_sh "${root}")" - _sh_ifs_new + rwx_ifs_set for module in ${modules}; do path="${root}/${module}" echo ". \"${path}\"" >>"${file}" done - _sh_ifs_pop + rwx_ifs_unset shellcheck \ --check-sourced \ --enable "all" \