From fbdb55dcbc7495468b2c476480065d64b9133bc9 Mon Sep 17 00:00:00 2001 From: Thomas Leplus Date: Mon, 28 Oct 2024 15:14:15 +0530 Subject: [PATCH] Debug mode (#134) * Implement debug mode * Linting * Update maven-check-versions.sh * Update maven-check-versions.sh --- maven-check-versions/maven-check-versions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-check-versions/maven-check-versions.sh b/maven-check-versions/maven-check-versions.sh index 3045cc2..4a19e33 100755 --- a/maven-check-versions/maven-check-versions.sh +++ b/maven-check-versions/maven-check-versions.sh @@ -21,7 +21,7 @@ if [ "${DEBUG}" = true ]; then # If maven wrapper debugging is not already configured, let's # turn it on too. if [ -n "${MVNW_VERBOSE+x}" ]; then - MVNW_VERBOSE=true + export MVNW_VERBOSE=true fi \echo "DEBUG: current working directory = $(pwd)" \echo 'DEBUG:' @@ -37,7 +37,7 @@ if [ -f mvnw ]; then cmd='./mvnw' # Ensure maven wrapper work directory is somewhere we have # write permissions - MAVEN_USER_HOME='/opt/maven' + export MAVEN_USER_HOME='/opt/maven' if [ -n "${MAVEN_CONFIG+x}" ]; then # resolve conflict with mvnw unset MAVEN_CONFIG