You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/05/12 16:14:49 UTC

incubator-ignite git commit: # ignite-676: which -> type

Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-676 b79577adc -> 00fbfb699


# ignite-676: which -> type


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/00fbfb69
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/00fbfb69
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/00fbfb69

Branch: refs/heads/ignite-676
Commit: 00fbfb69905464d1f6eb330cd903bc22ac763d5f
Parents: b79577a
Author: Artem Shutak <as...@gridgain.com>
Authored: Tue May 12 17:15:11 2015 +0300
Committer: Artem Shutak <as...@gridgain.com>
Committed: Tue May 12 17:15:11 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/00fbfb69/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