−ifs
This commit is contained in:
parent
415a59bca7
commit
0d47b0916c
1 changed files with 1 additions and 3 deletions
|
@ -3,12 +3,10 @@ rwx_shellcheck() {
|
|||
local file module modules path
|
||||
file="$(mktemp)"
|
||||
modules="$(rwx_find_shell "${root}")"
|
||||
rwx_ifs_set
|
||||
for module in ${modules}; do
|
||||
printf "%s\n" "${modules}" | while IFS= read -r module; do
|
||||
path="${root}/${module}"
|
||||
echo ". \"${path}\"" >>"${file}"
|
||||
done
|
||||
rwx_ifs_unset
|
||||
rwx_shellcheck_file "${file}"
|
||||
rwx_remove "${file}"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue