diff --git a/bash/main.sh b/bash/main.sh index ce04a8a..6a16fc5 100644 --- a/bash/main.sh +++ b/bash/main.sh @@ -17,7 +17,7 @@ if [ -f "${file}" ] ; then local path="$(realpath "${file}")" local root="$(dirname "${path}")" local IFS=$'\n' - local modules=($(find "${root}" -type 'f' -name '*.sh')) + local modules=($(find "${root}" -type 'f' -name '*.sh' | sort)) local module for module in "${modules[@]}" ; do if [ "${module}" != "${path}" ] ; then