silly mistake, forgot this is a soft link and needed to follow the link

This commit is contained in:
Daniel Mijares 2014-12-09 21:31:49 -05:00 committed by Bruno Pinto
parent e0ae3a7db4
commit efa2746e45

View File

@ -10,7 +10,7 @@ end
# ONLY checked on OSX! Please add for other OS's...
if test -z $JAVA_HOME
if test -e "/usr/libexec/java_home" -a -f "/usr/libexec/java_home"
set -gx JAVA_HOME "/usr/libexec/java_home"
set -gx JAVA_HOME (/usr/libexec/java_home)
end
set java_homes "/Library/Java/Home" "/System/Library/Frameworks/JavaVM.framework/Home"
if test -z $JAVA_HOME