JAVA_HOME fix

Putting the right JAVA_HOME correct atribution - Mac OS support
This commit is contained in:
Glaucio Melo 2015-09-29 15:57:41 -03:00 committed by Clebert Suconic
parent 727c91e141
commit 6f3b5bdeb6
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ case "`uname`" in
;;
Darwin*) darwin=true
if [ -z "$JAVA_HOME" ] ; then
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
JAVA_HOME=$(/usr/libexec/java_home)
fi
;;
esac