Skip to content

Commit

Permalink
geosolutions-it#1137 Missing goto on Win bash scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandinand committed Feb 6, 2017
1 parent 0bf21c4 commit 448ccdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions release/bin/mapstore2-shutdown.bat
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ goto shutdown
rem JAVA_HOME defined incorrectly
:checkJava
if not exist "%JAVA_HOME%\bin\java.exe" goto badJava
goto shutdown

:badJava
echo The JAVA_HOME environment variable is not defined correctly.
Expand Down
1 change: 1 addition & 0 deletions release/bin/mapstore2-startup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ goto run
rem JAVA_HOME defined incorrectly
:checkJava
if not exist "%JAVA_HOME%\bin\java.exe" goto badJava
goto run

:badJava
echo The JAVA_HOME environment variable is not defined correctly.
Expand Down

0 comments on commit 448ccdf

Please sign in to comment.