From eaa6a6f17df404995b40ae6c4caebfd7947be7bb Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 26 Apr 2007 14:43:23 +0000
Subject: [PATCH] Complete fix for 1252 restrict installed bin files to relevant platform.
---
opends/resource/bin/stop-ds.bat | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/resource/bin/stop-ds.bat b/opends/resource/bin/stop-ds.bat
index f135505..c3c1540 100644
--- a/opends/resource/bin/stop-ds.bat
+++ b/opends/resource/bin/stop-ds.bat
@@ -44,8 +44,8 @@
goto setClassPath
:noJavaHome
-if not exist "%DIR_HOME%\bat\set-java-home.bat" goto noSetJavaHome
-call "%DIR_HOME%\bat\set-java-home.bat"
+if not exist "%DIR_HOME%\lib\set-java-home.bat" goto noSetJavaHome
+call "%DIR_HOME%\lib\set-java-home.bat"
set JAVA_BIN=%JAVA_HOME%\bin\java.exe
goto setClassPath
@@ -60,7 +60,7 @@
goto end
:setClassPath
-FOR %%x in ("%DIR_HOME%\lib\*.jar") DO call "%DIR_HOME%\bat\setcp.bat" %%x
+FOR %%x in ("%DIR_HOME%\lib\*.jar") DO call "%DIR_HOME%\lib\setcp.bat" %%x
rem Test that the provided JDK is 1.5 compatible.
"%JAVA_BIN%" org.opends.server.tools.InstallDS -t > NUL 2>&1
@@ -96,7 +96,7 @@
goto startUsingSystemCall
:stopUsingProtocol
-call "%~dP0\_client-script.bat" %*
+call "%DIR_HOME%\lib\_client-script.bat" %*
goto end
:stopAsWindowsService
--
Gitblit v1.10.0