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}"
|
||||
[ -d "${path}" ] ||
|
||||
return 1
|
||||
local count module modules
|
||||
modules="$(rwx_find_shell "${path}" "${RWX_MAIN_NAME}")"
|
||||
rwx_ifs_set
|
||||
local count module
|
||||
count=0
|
||||
__rwx_log "" \
|
||||
". ${path}"
|
||||
for module in ${modules}; do
|
||||
rwx_ifs_set
|
||||
for module in $(rwx_find_shell "${path}" "${RWX_MAIN_NAME}"); do
|
||||
count=$((count + 1))
|
||||
__rwx_log "$(printf "%02d" "${count}") ${module%.sh}"
|
||||
module="${path}/${module}"
|
||||
|
|
Loading…
Reference in a new issue