diff --git a/sh/core/code.sh b/sh/core/code.sh index 393e5d5..18860ab 100644 --- a/sh/core/code.sh +++ b/sh/core/code.sh @@ -8,7 +8,7 @@ # TODO variablize # path to the entrypoint main file of the project -RWX_MAIN_PATH="${RWX_ROOT_SYSTEM}/${RWX_MAIN_NAME}" +RWX_MAIN_PATH="${RWX_ROOT_SYSTEM}/${RWX_MAIN_NAME}.sh" # user root directory of the project RWX_SELF_USER="${HOME}/${RWX_SELF_NAME}" diff --git a/sh/lint/shellcheck.sh b/sh/lint/shellcheck.sh index c6aabb6..3bdfa07 100644 --- a/sh/lint/shellcheck.sh +++ b/sh/lint/shellcheck.sh @@ -4,7 +4,7 @@ rwx_shellcheck() { file="$(mktemp)" modules="$(rwx_main_find "${root}")" while IFS= read -r module; do - path="${root}/${module}" + path="${root}/${module}.sh" echo ". \"${path}\"" >>"${file}" done <