source/find

This commit is contained in:
Marc Beninca 2024-11-25 14:59:24 +01:00
parent d517b783d7
commit 51de08aaa3
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

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