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
if NOT "%ARTEMIS_INSTANCE%"=="" goto CHECK_ARTEMIS_INSTANCE
PUSHD .
CD %~dp0..
set ARTEMIS_INSTANCE="%CD%"
POPD
set ARTEMIS_INSTANCE="%~dp0.."
:CHECK_ARTEMIS_INSTANCE
if exist %ARTEMIS_INSTANCE%\bin\artemis.cmd goto CHECK_JAVA

View File

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