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

diff --git a/opends/resource/bin/windows-service.bat b/opends/resource/bin/windows-service.bat
index 8ee95e4..d03aa72 100644
--- a/opends/resource/bin/windows-service.bat
+++ b/opends/resource/bin/windows-service.bat
@@ -29,5 +29,5 @@
 
 set OPENDS_INVOKE_CLASS="org.opends.server.tools.ConfigureWindowsService"
 set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=windows-service"
-call "%~dP0\..\lib\_client-script.bat" %*
+for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %*
 

--
Gitblit v1.10.0