This commit is contained in:
Marc Beninca 2025-07-04 05:18:15 +02:00
parent 415a59bca7
commit 0d47b0916c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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}"
}