mirror of https://github.com/apache/lucene.git
SOLR-7748: Fix script to work when %JAVA% has spaces
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692317 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d50f1e3703
commit
54be6a3be9
|
@ -1424,7 +1424,7 @@ GOTO :eof
|
|||
REM Set which JVM vendor we have
|
||||
:resolve_java_vendor
|
||||
set "JAVA_VENDOR=Oracle"
|
||||
%JAVA% -version 2>&1 | findstr /i "IBM J9" > javares
|
||||
"%JAVA%" -version 2>&1 | findstr /i "IBM J9" > javares
|
||||
set /p JAVA_VENDOR_OUT=<javares
|
||||
del javares
|
||||
if NOT "%JAVA_VENDOR_OUT%" == "" (
|
||||
|
|
Loading…
Reference in New Issue