This closes #1826
This commit is contained in:
commit
ce84c0cc1c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue