find with extension
This commit is contained in:
parent
9e3c268b1c
commit
52593c9571
4 changed files with 5 additions and 7 deletions
|
@ -289,10 +289,10 @@ rwx_code_main() {
|
|||
# find user modules
|
||||
rwx_code_modules_user="$(rwx_main_find "${rwx_code_root}")"
|
||||
# source user modules
|
||||
[ "${rwx_code_modules_user}" ] &&
|
||||
[ -n "${rwx_code_modules_user}" ] &&
|
||||
while IFS= read -r module; do
|
||||
# shellcheck disable=SC1090
|
||||
. "${rwx_code_root}/${module}.${RWX_MAIN_EXTENSION}"
|
||||
. "${rwx_code_root}/${module}"
|
||||
done <<EOF
|
||||
${rwx_code_modules_user}
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue