Handle parentheses in path

The variable assignment needs to be quoted to correctly handle scenario
where the path contains parentheses.

Realtes #24731
This commit is contained in:
Russ Cam 2017-05-17 21:22:05 +10:00 committed by Jason Tedor
parent 8a4d8909a1
commit 026e94e6d9
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ SET HOSTNAME=%COMPUTERNAME%
if "%ES_JVM_OPTIONS%" == "" (
rem '0' is the batch file, '~dp' appends the drive and path
set ES_JVM_OPTIONS=%~dp0\..\config\jvm.options
set "ES_JVM_OPTIONS=%~dp0\..\config\jvm.options"
)
@setlocal