make sure to set JAVA_HOME when it's not set and we already know where it is

git-svn-id: http://google-refine.googlecode.com/svn/trunk@139 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Stefano Mazzocchi 2010-02-25 00:07:18 +00:00
parent 2e5267c088
commit 7152c4aae2

View File

@ -60,6 +60,10 @@ OPTS="$GRIDWORKS_OPTS"
SYSTEM=`uname`
if [ "$SYSTEM" == "Darwin" ] && [ "$JAVA_HOME" == "" ] ; then
export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home"
fi
# ----- actions -------------------------------------------------
check_macosx() {