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/uninstall.bat |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/resource/uninstall.bat b/opends/resource/uninstall.bat
index 11d44ab..9c4cda6 100644
--- a/opends/resource/uninstall.bat
+++ b/opends/resource/uninstall.bat
@@ -24,7 +24,7 @@
 rem
 rem
 rem      Copyright 2006-2010 Sun Microsystems, Inc.
-rem      Portions Copyright 2011 ForgeRock AS
+rem      Portions Copyright 2011-2012 ForgeRock AS
 
 setlocal
 for %%i in (%~sf0) do set DIR_HOME=%%~dPsi.
@@ -34,7 +34,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