This commit is contained in:
Howard Gao 2018-02-01 11:28:15 +08:00
commit ce84c0cc1c
2 changed files with 2 additions and 8 deletions

View File

@ -19,10 +19,7 @@ rem under the License.
setlocal setlocal
if NOT "%ARTEMIS_INSTANCE%"=="" goto CHECK_ARTEMIS_INSTANCE if NOT "%ARTEMIS_INSTANCE%"=="" goto CHECK_ARTEMIS_INSTANCE
PUSHD . set ARTEMIS_INSTANCE="%~dp0.."
CD %~dp0..
set ARTEMIS_INSTANCE="%CD%"
POPD
:CHECK_ARTEMIS_INSTANCE :CHECK_ARTEMIS_INSTANCE
if exist %ARTEMIS_INSTANCE%\bin\artemis.cmd goto CHECK_JAVA if exist %ARTEMIS_INSTANCE%\bin\artemis.cmd goto CHECK_JAVA

View File

@ -19,10 +19,7 @@ rem under the License.
setlocal setlocal
if NOT "%ARTEMIS_HOME%"=="" goto CHECK_ARTEMIS_HOME if NOT "%ARTEMIS_HOME%"=="" goto CHECK_ARTEMIS_HOME
PUSHD . set ARTEMIS_HOME="%~dp0.."
CD %~dp0..
set ARTEMIS_HOME="%CD%"
POPD
:CHECK_ARTEMIS_HOME :CHECK_ARTEMIS_HOME
if exist %ARTEMIS_HOME%\bin\artemis.cmd goto CHECK_JAVA if exist %ARTEMIS_HOME%\bin\artemis.cmd goto CHECK_JAVA