diff --git a/bash/log.sh b/bash/log.sh index 1e699b3..f7d325e 100644 --- a/bash/log.sh +++ b/bash/log.sh @@ -5,7 +5,7 @@ LOG_LEVEL_INFO=3 LOG_LEVEL_DEBUG=4 LOG_LEVEL_TRACE=5 -LOG_LEVEL=${LOG_LEVEL_WARNING} +LOG_LEVEL=${LOG_LEVEL_WARN} function log_fatal { [ ${LOG_LEVEL} -ge ${LOG_LEVEL_FATAL} ] && echo "${@}" ; } diff --git a/bash/main.sh b/bash/main.sh index d858f6d..33a3df5 100644 --- a/bash/main.sh +++ b/bash/main.sh @@ -12,11 +12,10 @@ 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 - echo - echo "${module}" source "${module}" fi done