Fix warning for JAVA_TOOL_OPTIONS on Windows
The error message for warning about the use of JAVA_TOOL_OPTIONS on Windows incorrectly uses $JAVA_TOOL_OPTIONS to dereference the environment variable JAVA_TOOL_OPTIONS; on Windows it should be %JAVA_TOOL_OPTIONS%.
This commit is contained in:
parent
1309dfd44d
commit
ee94a02015
|
@ -30,7 +30,7 @@ if not exist %JAVA% (
|
|||
|
||||
rem do not let JAVA_TOOL_OPTIONS slip in (as the JVM does by default)
|
||||
if not "%JAVA_TOOL_OPTIONS%" == "" (
|
||||
echo "warning: ignoring JAVA_TOOL_OPTIONS=$JAVA_TOOL_OPTIONS"
|
||||
echo "warning: ignoring JAVA_TOOL_OPTIONS=%JAVA_TOOL_OPTIONS%"
|
||||
set JAVA_TOOL_OPTIONS=
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue