From 216fe057c915ae664dc69da87a460c7c1e0c8e01 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 13 Nov 2024 14:38:35 +0100 Subject: [PATCH] echoes --- bash/main.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bash/main.sh b/bash/main.sh index 540747f..9125fc9 100644 --- a/bash/main.sh +++ b/bash/main.sh @@ -19,21 +19,21 @@ main_import_modules() { local ifs module modules path root path="$(realpath --canonicalize-existing "${file}")" root="$(dirname "${path}")" + echo + echo "${root}" modules="$(find "${root}" -type "f" -name "*.sh" -printf "%P " | sort)" ifs="${IFS}" IFS=" " for module in ${modules}; do + echo "${module%.sh}" module="${root}/${module}" if [ "${module}" != "${path}" ]; then . "${module}" fi done IFS="${ifs}" - log_info - log_info "${root}" - log_info "${modules}" return 0 else log_fatal "No file: ${file}"