−count
This commit is contained in:
parent
99de96a393
commit
d0d0f0c21d
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue