rwx_shellcheck_check() { local root="${1}" local file module modules path file="$(mktemp)" modules="$(sh_find_sh "${root}")" rwx_ifs_set for module in ${modules}; do path="${root}/${module}" echo ". \"${path}\"" >>"${file}" done rwx_ifs_unset shellcheck \ --check-sourced \ --enable "all" \ --exclude "3043" \ --external-sources \ --shell "dash" \ "${file}" rm "${file}" }