mirror of https://github.com/sbt/sbt.git
fix: Quote variable assignment to prevent trailing space issues in sbt.bat (#8717)
This commit is contained in:
parent
b691cfadb2
commit
d11f3623e3
|
|
@ -96,7 +96,7 @@ if defined JAVA_HOMES (
|
||||||
if exist "project\build.properties" (
|
if exist "project\build.properties" (
|
||||||
for /F "eol=# delims== tokens=1*" %%a in (project\build.properties) do (
|
for /F "eol=# delims== tokens=1*" %%a in (project\build.properties) do (
|
||||||
if "%%a" == "sbt.version" if not "%%b" == "" (
|
if "%%a" == "sbt.version" if not "%%b" == "" (
|
||||||
set build_props_sbt_version=%%b
|
set "build_props_sbt_version=%%b"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue