main/module
This commit is contained in:
parent
0e9108999d
commit
189b4f521d
3 changed files with 5 additions and 5 deletions
|
@ -10,9 +10,9 @@
|
|||
|
||||
# extension of shell modules
|
||||
RWX_MAIN_EXTENSION="sh"
|
||||
|
||||
# name of the entrypoint module
|
||||
RWX_MAIN_NAME="main"
|
||||
RWX_MAIN_MODULE="main"
|
||||
|
||||
# name of the project itself
|
||||
RWX_SELF_NAME="rwx"
|
||||
|
||||
|
@ -80,7 +80,7 @@ rwx_main_main() {
|
|||
# find & source modules
|
||||
modules="$(rwx_main_find "${RWX_ROOT_SYSTEM}")"
|
||||
while IFS= read -r module; do
|
||||
if [ "${module}" != "${RWX_MAIN_NAME}" ]; then
|
||||
if [ "${module}" != "${RWX_MAIN_MODULE}" ]; then
|
||||
# shellcheck disable=SC1090
|
||||
. "${RWX_ROOT_SYSTEM}/${module}.${RWX_MAIN_EXTENSION}"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue