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
|
local file module modules path
|
||||||
file="$(mktemp)"
|
file="$(mktemp)"
|
||||||
modules="$(sh_find_sh "${root}")"
|
modules="$(sh_find_sh "${root}")"
|
||||||
_sh_ifs_new
|
rwx_ifs_set
|
||||||
for module in ${modules}; do
|
for module in ${modules}; do
|
||||||
path="${root}/${module}"
|
path="${root}/${module}"
|
||||||
echo ". \"${path}\"" >>"${file}"
|
echo ". \"${path}\"" >>"${file}"
|
||||||
done
|
done
|
||||||
_sh_ifs_pop
|
rwx_ifs_unset
|
||||||
shellcheck \
|
shellcheck \
|
||||||
--check-sourced \
|
--check-sourced \
|
||||||
--enable "all" \
|
--enable "all" \
|
||||||
|
|
Loading…
Reference in a new issue