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

jvergara
08.34.2007 ac7d5fa0bf240a29c5910e008a873b1c20e806d9
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
opends/resource/setup.bat 2 ●●● patch | view | raw | blame | history
opends/resource/uninstall.bat 2 ●●● patch | view | raw | blame | history
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
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