You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2019/08/28 08:22:42 UTC

[ignite] branch ignite-2.7.6 updated: IGNITE-12113 Fix silent control.sh fail when JAVA_HOME is empty

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

agoncharuk pushed a commit to branch ignite-2.7.6
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/ignite-2.7.6 by this push:
     new 805c3f4  IGNITE-12113 Fix silent control.sh fail when JAVA_HOME is empty
805c3f4 is described below

commit 805c3f44f73c60ec8753635463487f8809deb8cb
Author: Alexey Goncharuk <al...@gmail.com>
AuthorDate: Wed Aug 28 11:20:29 2019 +0300

    IGNITE-12113 Fix silent control.sh fail when JAVA_HOME is empty
---
 bin/control.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/control.sh b/bin/control.sh
index b764fc6..e470d6e 100755
--- a/bin/control.sh
+++ b/bin/control.sh
@@ -148,7 +148,7 @@ fi
 #
 # Final JVM_OPTS for Java 9+ compatibility
 #
-javaMajorVersion "${JAVA_HOME}/bin/java"
+javaMajorVersion "${JAVA}"
 
 if [ $version -eq 8 ] ; then
     JVM_OPTS="\