This commit is contained in:
Marc Beninca 2025-07-04 07:56:32 +02:00
parent 15689cb0fe
commit bb54436398
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -3,10 +3,12 @@ rwx_shellcheck() {
local file module modules path
file="$(mktemp)"
modules="$(rwx_find_shell "${root}")"
printf "%s\n" "${modules}" | while IFS= read -r module; do
while IFS= read -r module; do
path="${root}/${module}"
echo ". \"${path}\"" >>"${file}"
done
done <<EOF
${modules}
EOF
rwx_shellcheck_file "${file}"
rwx_remove "${file}"
}