sc/ifs
This commit is contained in:
parent
de22cafbd0
commit
ecff8f16bc
1 changed files with 2 additions and 2 deletions
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue