From b9e59589a9d91c6cb520c70e5d51bddccbc3431b Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Thu, 09 Feb 2012 15:18:38 +0000
Subject: [PATCH] Fix for OPENDJ-132: upgrade utility does not accept relative path. Contribution from German Parente (thanks)

---
 opends/resource/bin/_script-util.bat |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/resource/bin/_script-util.bat b/opends/resource/bin/_script-util.bat
index e1dd5aa..e5a8835 100644
--- a/opends/resource/bin/_script-util.bat
+++ b/opends/resource/bin/_script-util.bat
@@ -23,7 +23,7 @@
 rem
 rem
 rem      Copyright 2008-2010 Sun Microsystems, Inc.
-rem      Portions Copyright 2011 ForgeRock AS
+rem      Portions Copyright 2011-2012 ForgeRock AS
 
 set SET_JAVA_HOME_AND_ARGS_DONE=false
 set SET_ENVIRONMENT_VARS_DONE=false
@@ -48,7 +48,7 @@
 for /f "delims=" %%a in (%INSTALL_ROOT%\instance.loc) do (
   set INSTANCE_DIR=%%a
 )
-set CUR_DIR=%~dp0
+set CUR_DIR=%CD%
 cd /d %INSTALL_ROOT%
 cd /d %INSTANCE_DIR%
 set INSTANCE_ROOT=%CD%

--
Gitblit v1.10.0