From 9609171ad634c4b1cfdd065e4d3d227e1df9f2f4 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 15 May 2023 18:59:04 +0200 Subject: [PATCH] path --- bash/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/main.sh b/bash/main.sh index 424a2ec..ce04a8a 100644 --- a/bash/main.sh +++ b/bash/main.sh @@ -20,7 +20,7 @@ if [ -f "${file}" ] ; then local modules=($(find "${root}" -type 'f' -name '*.sh')) local module for module in "${modules[@]}" ; do - if [ "${module}" != "${file}" ] ; then + if [ "${module}" != "${path}" ] ; then source "${module}" fi done