diff --git a/bash/main.sh b/bash/main.sh index 424a2ec..ce04a8a 100644 --- a/bash/main.sh +++ b/bash/main.sh @@ -20,7 +20,7 @@ if [ -f "${file}" ] ; then local modules=($(find "${root}" -type 'f' -name '*.sh')) local module for module in "${modules[@]}" ; do - if [ "${module}" != "${file}" ] ; then + if [ "${module}" != "${path}" ] ; then source "${module}" fi done