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:
parent
2e5267c088
commit
7152c4aae2
@ -59,6 +59,10 @@ add_option() {
|
||||
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 -------------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user