From 53f847d7039c086ef34c829fd843cb76ad4abf70 Mon Sep 17 00:00:00 2001 From: Christian Lachner Date: Sun, 30 Jun 2019 11:19:18 +0200 Subject: [PATCH] Fix JVM_DEBUG in sbt.bat JVM_DEBUG was broken due to a copy-pasta error in sbt.bat. This commit corrects the value assignment to the variable and therefore fixes the problem. --- src/universal/bin/sbt.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/universal/bin/sbt.bat b/src/universal/bin/sbt.bat index b67083271..78cbe17a2 100644 --- a/src/universal/bin/sbt.bat +++ b/src/universal/bin/sbt.bat @@ -64,8 +64,8 @@ set INIT_SBT_VERSION=_TO_BE_REPLACED :args_loop if "%~1" == "" goto args_end -if "%~1" == "-jvm-debug" set set JVM_DEBUG=true -if "%~1" == "--jvm-debug" set set JVM_DEBUG=true +if "%~1" == "-jvm-debug" set JVM_DEBUG=true +if "%~1" == "--jvm-debug" set JVM_DEBUG=true if "%JVM_DEBUG%" == "true" ( set /a JVM_DEBUG_PORT=5005 2>nul >nul