From 1acc5ed575165ab697ac09ae7b8f487d707274ce Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Mon, 23 Jul 2007 18:54:58 +0000
Subject: [PATCH] Back out changes made for issue #1985 due to apparent problems with windows 2000.
---
opends/resource/setup.bat | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/resource/setup.bat b/opends/resource/setup.bat
index f40bb9f..8fd0f24 100644
--- a/opends/resource/setup.bat
+++ b/opends/resource/setup.bat
@@ -29,11 +29,11 @@
rem check that the path does not contain the ^% character which breaks
rem the batch files.
-set NON_ESCAPED=%~dP0..
+set NON_ESCAPED=%~dPs0..
FOR /F "tokens=1-2* delims=%%" %%1 IN ("%NON_ESCAPED%") DO (
if NOT "%%2" == "" goto invalidPath)
-set DIR_HOME=%~dPs0.
+set DIR_HOME=%~dP0.
set INSTANCE_ROOT=%DIR_HOME%
:checkJavaBin
--
Gitblit v1.10.0