sort bash modules
This commit is contained in:
parent
6455d789aa
commit
25a8c2f30b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue