From 939762c0ca558218be468ee79a0e75b4371fdfda Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 23 Jul 2007 09:32:53 +0000
Subject: [PATCH] Fix for issue 1985.

---
 opends/resource/bin/_server-script.bat |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/resource/bin/_server-script.bat b/opends/resource/bin/_server-script.bat
index d57b5c1..55742f8 100644
--- a/opends/resource/bin/_server-script.bat
+++ b/opends/resource/bin/_server-script.bat
@@ -30,7 +30,7 @@
 
 setlocal
 
-set DIR_HOME=%~dP0..
+set DIR_HOME=%~dPs0..
 set INSTANCE_ROOT=%DIR_HOME%
 
 if "%OPENDS_INVOKE_CLASS%" == "" goto noInvokeClass

--
Gitblit v1.10.0