From 4dc4c537142907a8f80f34845839751ed4422b9e Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Wed, 25 Jul 2007 04:00:20 +0000
Subject: [PATCH] Use work-around for long filename bug in Windows 2000. Issue #1985.

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

diff --git a/opends/resource/bin/encode-password.bat b/opends/resource/bin/encode-password.bat
index 34c0143..168e324 100644
--- a/opends/resource/bin/encode-password.bat
+++ b/opends/resource/bin/encode-password.bat
@@ -29,5 +29,5 @@
 
 set OPENDS_INVOKE_CLASS="org.opends.server.tools.EncodePassword"
 set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=encode-password"
-call "%~dP0\..\lib\_server-script.bat" %*
+for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %*
 

--
Gitblit v1.10.0