Commit b0469dc5 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Minor tweak.



git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches@8220 b35dd754-fafc-0310-a699-88a17e54d16e
parent a5bbc141
......@@ -20,13 +20,15 @@ case "`uname`" in
fi
;;
Linux*) linux=true
jdks=`ls -r1d /usr/java/j*`
for jdk in $jdks; do
if [ -f "$jdk/bin/java" ]; then
JAVA_HOME="$jdk"
break
fi
done
if [ -z "$JAVA_HOME" ]; then
jdks=`ls -r1d /usr/java/j*`
for jdk in $jdks; do
if [ -f "$jdk/bin/java" ]; then
JAVA_HOME="$jdk"
break
fi
done
fi
;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment