Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-676 [created] 50dd6b3dc


# ignite-676: which -> type -p


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

Branch: refs/heads/ignite-676
Commit: 50dd6b3dc14e6f447bb1d29ae58aa4fb4d768d6c
Parents: f6012f1
Author: Artem Shutak <[email protected]>
Authored: Tue May 12 17:40:27 2015 +0300
Committer: Artem Shutak <[email protected]>
Committed: Tue May 12 17:40:27 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/50dd6b3d/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

Reply via email to