From 4d40455be028a2eec64e92ed2c2c4292838f69a0 Mon Sep 17 00:00:00 2001 From: lutoff <lutoff@localhost> Date: Fri, 26 Sep 2008 12:36:07 +0000 Subject: [PATCH] fix for issue #3498 - stop-ds.bat doesn't work anymore if not launched from server root (OpenDS1.1.0) windows 'cd' cmd should be used with the '/d' modifier --- opends/resource/bin/status-panel.bat | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/opends/resource/bin/status-panel.bat b/opends/resource/bin/status-panel.bat index 3e88ad8..25d1c88 100644 --- a/opends/resource/bin/status-panel.bat +++ b/opends/resource/bin/status-panel.bat @@ -34,10 +34,10 @@ set INSTANCE_DIR=%%a ) set CUR_DIR=%~dp0 -cd %INSTALL_ROOT% -cd %INSTANCE_DIR% +cd /d %INSTALL_ROOT% +cd /d %INSTANCE_DIR% set INSTANCE_ROOT=%CD% -cd %CUR_DIR% +cd /d %CUR_DIR% set SCRIPT_NAME=status-panel -- Gitblit v1.10.0