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" \