From ac7d5fa0bf240a29c5910e008a873b1c20e806d9 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 08 Jun 2007 16:34:50 +0000
Subject: [PATCH] Use the first parameter of the batch file instead of the batch file itself to test whether we use the winlauncher.exe or not for the setup and the uninstall.

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

diff --git a/opends/resource/setup.bat b/opends/resource/setup.bat
index 4aa2089..86430aa 100644
--- a/opends/resource/setup.bat
+++ b/opends/resource/setup.bat
@@ -67,7 +67,7 @@
 "%JAVA_BIN%" org.opends.server.tools.InstallDS -t > NUL 2>&1
 if not %errorlevel% == 0 goto noValidJavaHome
 
-if %~0 == "" goto callLaunch
+if "%~1" == "" goto callLaunch
 goto callJava
 
 :callLaunch

--
Gitblit v1.10.0