Repository: groovy Updated Branches: refs/heads/master 85f574318 -> 26c3fbd80
GROOVY-8754: support JAVA_HOME including spaces on Windows (closes #784) Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/26c3fbd8 Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/26c3fbd8 Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/26c3fbd8 Branch: refs/heads/master Commit: 26c3fbd80c19ba9ca8fc8e37ffc7a6a86fc56066 Parents: 85f5743 Author: amadarain <[email protected]> Authored: Tue Aug 14 17:16:16 2018 +0900 Committer: Paul King <[email protected]> Committed: Sat Aug 18 10:39:32 2018 +1000 ---------------------------------------------------------------------- src/bin/startGroovy.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/26c3fbd8/src/bin/startGroovy.bat ---------------------------------------------------------------------- diff --git a/src/bin/startGroovy.bat b/src/bin/startGroovy.bat index e755ed3..c2dc3da 100644 --- a/src/bin/startGroovy.bat +++ b/src/bin/startGroovy.bat @@ -266,7 +266,7 @@ if not "%TOOLS_JAR%" == "" set GROOVY_OPTS=%GROOVY_OPTS% -Dtools.jar="%TOOLS_JAR set GROOVY_OPTS=%GROOVY_OPTS% -Dgroovy.starter.conf="%STARTER_CONF%" set GROOVY_OPTS=%GROOVY_OPTS% -Dscript.name="%GROOVY_SCRIPT_NAME%" -for /f "tokens=3" %%g in ('%JAVA_EXE% -version 2^>^&1 ^| findstr /i "version"') do ( +for /f "tokens=3" %%g in ('call "%JAVA_EXE%" -version 2^>^&1 ^| findstr /i "version"') do ( SET JAVA_VERSION=%%g ) for /f "useback tokens=*" %%a in ('%JAVA_VERSION%') do set JAVA_VERSION=%%~a
