mirror of https://github.com/sbt/sbt.git
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.
This commit is contained in:
parent
ff638e36bc
commit
9ffddfbd25
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue