From 920269bc1645597a547ca0aa7261970524ac5143 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 04 Jun 2007 15:21:42 +0000
Subject: [PATCH] Fix for issue 1753.

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

diff --git a/opends/resource/setup.bat b/opends/resource/setup.bat
index 3d393bb..4aa2089 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 "%*" == "" goto callLaunch
+if %~0 == "" goto callLaunch
 goto callJava
 
 :callLaunch
diff --git a/opends/resource/uninstall.bat b/opends/resource/uninstall.bat
index 40a5db7..17b4c0e 100644
--- a/opends/resource/uninstall.bat
+++ b/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 "%*" == "" goto callLaunch
+if %~0 == "" goto callLaunch
 goto callJava
 
 :callLaunch

--
Gitblit v1.10.0