look for openjdk6 in OpenBSD if v7 isn't available

This commit is contained in:
kytv
2013-09-20 18:33:11 +00:00
parent 43383a5b3c
commit 37521c69a2

View File

@ -17,6 +17,8 @@ elif [ $UNIXTYPE = "sunos" ]; then
elif [ $UNIXTYPE = "openbsd" ]; then
if [ -d /usr/local/jdk-1.7.0 ]; then
JAVA_HOME="/usr/local/jdk-1.7.0"
elif [ -d /usr/local/jdk-1.6.0 ]; then
JAVA_HOME="/usr/local/jdk-1.6.0"
fi
elif [ $UNIXTYPE = "netbsd" ]; then
if [ -d /usr/pkg/java/openjdk7 ]; then