From 8cb02b102b7561bdfd341acc0ee7039c69edaea3 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 23 May 2023 16:09:54 +0200 Subject: [PATCH] Trying to fix scripts/get-module-version. --- scripts/get-module-version | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/get-module-version b/scripts/get-module-version index c7eeeb0..daf9e73 100755 --- a/scripts/get-module-version +++ b/scripts/get-module-version @@ -91,13 +91,13 @@ get_options() { -E|--env|--environment) j=$(( $i + 1 )) PUPPET_ENV="${REMAINING_OPTS[$j]}" - debug "Puppet environment is now: '${CYAN}${PUPPET_ENV}${NORMAL}'." + debug "Puppet environment is now: '${CYAN}${PUPPET_ENV}${NORMAL}', i = $i." i=$(( $i + 2 )) ;; -D|--dir) j=$(( $i + 1 )) ENV_DIR="${REMAINING_OPTS[$j]}" - debug "Puppet environment directory is now: '${CYAN}${ENV_DIR}${NORMAL}'." + debug "Puppet environment directory is now: '${CYAN}${ENV_DIR}${NORMAL}', i = $i." i=$(( $i + 2 )) ;; *) echo -e "Internal error - option '${RED}${arg}${NORMAL}' was wrong!" -- 2.39.5