modules
This commit is contained in:
parent
93d1cef6e3
commit
3495d35051
1 changed files with 3 additions and 4 deletions
|
@ -95,13 +95,12 @@ rwx_source() {
|
||||||
local path="${1}"
|
local path="${1}"
|
||||||
[ -d "${path}" ] ||
|
[ -d "${path}" ] ||
|
||||||
return 1
|
return 1
|
||||||
local count module modules
|
local count module
|
||||||
modules="$(rwx_find_shell "${path}" "${RWX_MAIN_NAME}")"
|
|
||||||
rwx_ifs_set
|
|
||||||
count=0
|
count=0
|
||||||
__rwx_log "" \
|
__rwx_log "" \
|
||||||
". ${path}"
|
". ${path}"
|
||||||
for module in ${modules}; do
|
rwx_ifs_set
|
||||||
|
for module in $(rwx_find_shell "${path}" "${RWX_MAIN_NAME}"); do
|
||||||
count=$((count + 1))
|
count=$((count + 1))
|
||||||
__rwx_log "$(printf "%02d" "${count}") ${module%.sh}"
|
__rwx_log "$(printf "%02d" "${count}") ${module%.sh}"
|
||||||
module="${path}/${module}"
|
module="${path}/${module}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue