lint/modules

This commit is contained in:
Marc Beninca 2025-07-06 16:05:10 +02:00
parent de0dd93a71
commit 249aa0b19c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -94,11 +94,11 @@ rwx_source() {
[ -d "${root}" ] ||
return 1
local file="${2}"
local count module
local count module modules
count=0
__rwx_log "" \
". ${root}"
local modules="$(rwx_find_shell "${root}" "${file}")"
modules="$(rwx_find_shell "${root}" "${file}")"
while IFS= read -r module; do
count=$((count + 1))
__rwx_log "$(printf "%02d" "${count}") ${module%.sh}"