diff --git a/bash/main.sh b/bash/main.sh index 33a3df5..90ea527 100644 --- a/bash/main.sh +++ b/bash/main.sh @@ -12,13 +12,13 @@ function link_bashrc { function main_import_modules { local IFS=$'\n' local modules=($(find "${MAIN_ROOT}" -type 'f' -name '*.sh')) - log_trace "${modules[@]}" local module for module in "${modules[@]}" ; do if [ "${module}" != "${MAIN_FILE}" ] ; then source "${module}" fi done + log_trace "${modules[@]}" } # import modules