This commit is contained in:
Marc Beninca 2024-11-15 19:10:40 +01:00
parent d7bf240ba0
commit 8c5b43a4e8
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -14,7 +14,10 @@ main_source_directory() {
local path="${1}" local path="${1}"
if [ -d "${path}" ]; then if [ -d "${path}" ]; then
local count ifs module modules local count ifs module modules
modules="$(find "${path}" -type "f" -name "*.sh" -printf "%P modules="$(find "${path}" \
-type "f" \
-name "*.sh" \
-printf "%P
" | sort)" " | sort)"
ifs="${IFS}" ifs="${IFS}"
IFS=" IFS="