diff --git a/sh/main.sh b/sh/main.sh index 682605e..bb5b3bb 100755 --- a/sh/main.sh +++ b/sh/main.sh @@ -87,7 +87,7 @@ rwx_main_source() { [ -n "${main}" ] && rwx_main_cache "${root}" "${main}" modules="$(rwx_main_find "${root}")" while IFS= read -r module; do - if [ "${module}" != "${RWX_MAIN_NAME}" ]; then + if [ "${module}" != "${main}" ]; then # shellcheck disable=SC1090 . "${root}/${module}.${RWX_MAIN_EXTENSION}" # cache code