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:
parent
8a4d8909a1
commit
026e94e6d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue