From 62b8f608419eba4dceba3ee2287bfbe3efe92ef1 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 25 Nov 2024 16:19:48 +0100 Subject: [PATCH] main/count --- sh/main.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sh/main.sh b/sh/main.sh index ea6a4d0..bfa8c04 100644 --- a/sh/main.sh +++ b/sh/main.sh @@ -74,8 +74,7 @@ main_source_directory() { ". ${path}" for module in ${modules}; do count=$((count + 1)) - #printf "%02d" "${count}" - _sh_main_log "${module%.sh}" + _sh_main_log "$(printf "%02d" "${count}") ${module%.sh}" module="${path}/${module}" # shellcheck disable=SC1090 . "${module}"