−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
|
local file module modules path
|
||||||
file="$(mktemp)"
|
file="$(mktemp)"
|
||||||
modules="$(rwx_find_shell "${root}")"
|
modules="$(rwx_find_shell "${root}")"
|
||||||
rwx_ifs_set
|
printf "%s\n" "${modules}" | while IFS= read -r module; do
|
||||||
for module in ${modules}; do
|
|
||||||
path="${root}/${module}"
|
path="${root}/${module}"
|
||||||
echo ". \"${path}\"" >>"${file}"
|
echo ". \"${path}\"" >>"${file}"
|
||||||
done
|
done
|
||||||
rwx_ifs_unset
|
|
||||||
rwx_shellcheck_file "${file}"
|
rwx_shellcheck_file "${file}"
|
||||||
rwx_remove "${file}"
|
rwx_remove "${file}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue