Commit c5f466aa authored by Daryl Herzmann's avatar Daryl Herzmann Committed by akrherz

OF-746 further refine the regex based on patch submitter


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13967 b35dd754-fafc-0310-a699-88a17e54d16e
parent b4d46398
......@@ -24,7 +24,7 @@
if [ -z $JAVA_HOME ]; then
JAVA_HOME=$(LC_ALL=C update-alternatives --display java \
| grep best \
| grep -oe \/.*\.java \
| grep -oe \/.*\/bin\/java \
| sed 's/\/jre\/.*//g')
echo "best java alternative in: "$JAVA_HOME
fi
......
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