diff --git a/sh/main.sh b/sh/main.sh index 401fccd..ebd8849 100755 --- a/sh/main.sh +++ b/sh/main.sh @@ -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