From f7c5ce48062ef5c62d062fb9f0cf401419c7a7ee Mon Sep 17 00:00:00 2001 From: Chris Ridd <chris.ridd@forgerock.com> Date: Wed, 05 Feb 2014 15:42:18 +0000 Subject: [PATCH] Fix OPENDJ-1322: Control-Panel.bat can not start and stop the OpenDJ server when running as a windows service --- opends/resource/bin/stop-ds.bat | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/opends/resource/bin/stop-ds.bat b/opends/resource/bin/stop-ds.bat index f0b4c00..0f7e1e2 100644 --- a/opends/resource/bin/stop-ds.bat +++ b/opends/resource/bin/stop-ds.bat @@ -51,11 +51,11 @@ cd /d%INSTANCE_DIR% set INSTANCE_ROOT=%CD% cd /d%CUR_DIR% -set TEMP_LOG=%TEMP%\logs\ +set TEMP_LOG="%TEMP%\logs\" -if NOT EXIST %INSTANCE_ROOT%\logs\ ( - if NOT EXIST %TEMP_LOG% ( - md %TEMP_LOG% +if NOT EXIST "%INSTANCE_ROOT%\logs\" ( + if NOT EXIST "%TEMP_LOG%" ( + md "%TEMP_LOG%" ) set LOG="%TEMP_LOG%native-windows.out" ) ELSE ( -- Gitblit v1.10.0