From f6107508e9fe389db0d224b7d968c20f3cba5cb6 Mon Sep 17 00:00:00 2001 From: vharseko <vharseko@3a-systems.ru> Date: Tue, 31 May 2022 20:31:19 +0000 Subject: [PATCH] FIX Windows install to path with spaces (#236) --- opendj-server-legacy/resource/bin/_script-util.bat | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/opendj-server-legacy/resource/bin/_script-util.bat b/opendj-server-legacy/resource/bin/_script-util.bat index 45dcb2b..f0bc2fe 100644 --- a/opendj-server-legacy/resource/bin/_script-util.bat +++ b/opendj-server-legacy/resource/bin/_script-util.bat @@ -232,8 +232,8 @@ rem read the provided property from the configuration/java.properties and stores it in PROPERTY_VALUE variable :readProperty set PROPERTY_VALUE= -set JAVA_PROPERTIES="%INSTALL_ROOT%\config\java.properties" -if not exist %JAVA_PROPERTIES% goto:eof -set CMD="findstr /b [^#]*%~1=.* %JAVA_PROPERTIES%" +set JAVA_PROPERTIES=%INSTALL_ROOT%\config\java.properties +if not exist "%JAVA_PROPERTIES%" goto:eof +set CMD=findstr /b [^#]*%~1=.* "%JAVA_PROPERTIES%" for /f "tokens=2 delims==" %%a in ( '%CMD%' ) do set PROPERTY_VALUE=%%a goto:eof -- Gitblit v1.10.0