From d0d0f0c21d84f38cea7ad419fd08650d62889982 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 9 Jul 2025 04:57:58 +0200 Subject: [PATCH] =?UTF-8?q?=E2=88=92count?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sh/main.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sh/main.sh b/sh/main.sh index 401fccd..ebd8849 100755 --- a/sh/main.sh +++ b/sh/main.sh @@ -81,15 +81,12 @@ rwx_main_source() { local root="${1}" [ -d "${root}" ] || return 1 - local count module modules - count=0 + local module modules _rwx_main_log "" \ ". ${root}" modules="$(rwx_main_find "${root}")" while IFS= read -r module; do if [ "${module}" != "${RWX_MAIN_NAME}" ]; then - count=$((count + 1)) - _rwx_main_log "$(printf "%02d" "${count}") ${module}" # shellcheck disable=SC1090 . "${root}/${module}.${RWX_MAIN_EXTENSION}" # cache code