From 9ffddfbd25bada20efe9c2177c27f80a6bdc90eb Mon Sep 17 00:00:00 2001 From: Ethan Atkins Date: Sun, 25 Oct 2020 17:11:07 -0700 Subject: [PATCH] Pass the sanitized args to thin client in sbt.bat Passing the unsanitized arguments was problematic in sbt.bat because it caused sbt --client to run sbtn with --client as a parameter. This caused sbtn to launch sbt with the --client which caused a loop. This manifested as a weird error about not being able to get the console mode. --- src/universal/bin/sbt.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/universal/bin/sbt.bat b/src/universal/bin/sbt.bat index 33d0d8b4c..a651eecb2 100755 --- a/src/universal/bin/sbt.bat +++ b/src/universal/bin/sbt.bat @@ -650,7 +650,7 @@ set "SBT_ARGS=--sbt-script=!SBT_BIN_DIR!sbt.bat %SBT_ARGS%" rem Microsoft Visual C++ 2010 SP1 Redistributable Package (x64) is required rem https://www.microsoft.com/en-us/download/details.aspx?id=13523 -"!_SBTNCMD!" %* +"!_SBTNCMD!" %SBT_ARGS% goto :eof