mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
08.34.2007 b50b2f8f4a3ca8563abf1ed4e2f235d53aae5281
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.
2 files modified
4 ■■■■ changed files
opendj-sdk/opends/resource/setup.bat 2 ●●● patch | view | raw | blame | history
opendj-sdk/opends/resource/uninstall.bat 2 ●●● patch | view | raw | blame | history
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
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