From b50b2f8f4a3ca8563abf1ed4e2f235d53aae5281 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. --- opendj-sdk/opends/resource/setup.bat | 2 +- opendj-sdk/opends/resource/uninstall.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opendj-sdk/opends/resource/setup.bat b/opendj-sdk/opends/resource/setup.bat index 4aa2089..86430aa 100644 --- a/opendj-sdk/opends/resource/setup.bat +++ b/opendj-sdk/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 diff --git a/opendj-sdk/opends/resource/uninstall.bat b/opendj-sdk/opends/resource/uninstall.bat index 17b4c0e..97d8742 100644 --- a/opendj-sdk/opends/resource/uninstall.bat +++ b/opendj-sdk/opends/resource/uninstall.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