From: Frank Brehm Date: Tue, 23 May 2023 14:09:54 +0000 (+0200) Subject: Trying to fix scripts/get-module-version. X-Git-Tag: 0.9.0~1^2~42 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=8cb02b102b7561bdfd341acc0ee7039c69edaea3;p=pixelpark%2Fpp-admin-tools.git Trying to fix scripts/get-module-version. --- 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!"