You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2019/02/12 10:33:29 UTC

[ignite] branch master updated: IGNITE-11216 Ignite.sh fails on Mac OS and Linux - Java 11 (#6084)

This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 033170d  IGNITE-11216 Ignite.sh fails on Mac OS and Linux - Java 11 (#6084)
033170d is described below

commit 033170d90f6c0618b9d6a3fd997e13a5ec1fff89
Author: Peter Ivanov <mr...@gmail.com>
AuthorDate: Tue Feb 12 13:33:21 2019 +0300

    IGNITE-11216 Ignite.sh fails on Mac OS and Linux - Java 11 (#6084)
---
 bin/include/functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/include/functions.sh b/bin/include/functions.sh
index 4edf0e6..199fd4e 100755
--- a/bin/include/functions.sh
+++ b/bin/include/functions.sh
@@ -61,7 +61,7 @@ javaMajorVersion() {
 #
 checkJava() {
     # Check JAVA_HOME.
-    if [ "$JAVA_HOME" = "" ]; then
+    if [ "${JAVA_HOME:-}" = "" ]; then
         JAVA=`type -p java`
         RETCODE=$?