ignite-676: Fix ignite Start Nodes on public TC
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/3861fbda Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/3861fbda Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/3861fbda Branch: refs/heads/ignite-894 Commit: 3861fbda0e54be505edc6dc5993edc4d70f16d59 Parents: f027ac5 Author: Artem Shutak <ashu...@gridgain.com> Authored: Tue May 12 20:32:46 2015 +0300 Committer: Artem Shutak <ashu...@gridgain.com> Committed: Tue May 12 20:32:46 2015 +0300 ---------------------------------------------------------------------- bin/include/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3861fbda/bin/include/functions.sh ---------------------------------------------------------------------- diff --git a/bin/include/functions.sh b/bin/include/functions.sh index f0430c1..b18b150 100755 --- a/bin/include/functions.sh +++ b/bin/include/functions.sh @@ -34,7 +34,7 @@ checkJava() { # Check JAVA_HOME. if [ "$JAVA_HOME" = "" ]; then - JAVA=`which java` + JAVA=`type -p java` RETCODE=$? if [ $RETCODE -ne 0 ]; then