]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Trying to fix scripts/get-module-version.
authorFrank Brehm <frank@brehm-online.com>
Tue, 23 May 2023 14:09:54 +0000 (16:09 +0200)
committerFrank Brehm <frank@brehm-online.com>
Tue, 23 May 2023 14:09:54 +0000 (16:09 +0200)
scripts/get-module-version

index c7eeeb096dc62f132a9e0f3be01379d28f020d91..daf9e7355b27561cd052332f8ff6b4d2da41b9f5 100755 (executable)
@@ -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!"