From 8c5b43a4e8e20247e1d6e73a6194284d40f94621 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 15 Nov 2024 19:10:40 +0100 Subject: [PATCH] args --- shell/main.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shell/main.sh b/shell/main.sh index 63e00f6..afd1d56 100644 --- a/shell/main.sh +++ b/shell/main.sh @@ -14,7 +14,10 @@ main_source_directory() { local path="${1}" if [ -d "${path}" ]; then local count ifs module modules - modules="$(find "${path}" -type "f" -name "*.sh" -printf "%P + modules="$(find "${path}" \ + -type "f" \ + -name "*.sh" \ + -printf "%P " | sort)" ifs="${IFS}" IFS="