This commit is contained in:
Marc Beninca 2025-07-04 04:34:26 +02:00
parent 80632463f6
commit 5346091e7b
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -93,16 +93,17 @@ rwx_source() {
count=0
__rwx_log "" \
". ${root}"
rwx_ifs_set
for module in $(rwx_find_shell "${root}" "${file}"); do
local modules="$(rwx_find_shell "${root}" "${file}")"
while IFS= read -r module; do
count=$((count + 1))
__rwx_log "$(printf "%02d" "${count}") ${module%.sh}"
# shellcheck disable=SC1090
. "${root}/${module}"
# cache code
rwx_cache "${root}" "${module}"
done
rwx_ifs_unset
done <<EOF
${modules}
EOF
}
# ╭──────┬─────╮