This commit is contained in:
Marc Beninca 2025-07-09 04:57:58 +02:00
parent 99de96a393
commit d0d0f0c21d
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -81,15 +81,12 @@ rwx_main_source() {
local root="${1}"
[ -d "${root}" ] ||
return 1
local count module modules
count=0
local module modules
_rwx_main_log "" \
". ${root}"
modules="$(rwx_main_find "${root}")"
while IFS= read -r module; do
if [ "${module}" != "${RWX_MAIN_NAME}" ]; then
count=$((count + 1))
_rwx_main_log "$(printf "%02d" "${count}") ${module}"
# shellcheck disable=SC1090
. "${root}/${module}.${RWX_MAIN_EXTENSION}"
# cache code