From 51de08aaa3175e69a1627cf8fe8dd1c510520918 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 25 Nov 2024 14:59:24 +0100 Subject: [PATCH] source/find --- sh/main.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sh/main.sh b/sh/main.sh index ff80d0d..d593295 100644 --- a/sh/main.sh +++ b/sh/main.sh @@ -62,11 +62,7 @@ main_source_directory() { local path="${1}" if [ -d "${path}" ]; then local cmd count ifs module modules - modules="$(find "${path}" \ - -type "f" \ - -name "*.sh" \ - -printf "%P\n" | - sort)" + modules="$(sh_source_find "${path}")" ifs="${IFS}" IFS=" "