ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: # ignite-676: which -> type
Date Tue, 12 May 2015 14:14:49 GMT
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 <ashutak@gridgain.com>
Authored: Tue May 12 17:15:11 2015 +0300
Committer: Artem Shutak <ashutak@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


Mime
View raw message