From: Ashlee Young Date: Sat, 5 Dec 2015 16:48:22 +0000 (-0800) Subject: trying to resolve multiple java versions issue X-Git-Tag: brahmaputra.1.0~20 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=d333c63fdec8b064184b0a26f8d777f267577fde;p=onosfw.git trying to resolve multiple java versions issue Change-Id: Ie15a11f7ea568ab0ce06f8748acde4c143b4af55 Signed-off-by: Ashlee Young --- diff --git a/build.sh b/build.sh index 42c6940a..5b398433 100755 --- a/build.sh +++ b/build.sh @@ -20,7 +20,7 @@ ##### Settings ##### VERSION=1.0.7 AUTHOR="Ashlee Young" -MODIFIED="November 30, 2015" +MODIFIED="December 5, 2015" GERRITURL="git clone ssh://im2bz2pee@gerrit.opnfv.org:29418/onosfw" ONOSURL="https://github.com/opennetworkinglab/onos" SURICATAURL="https://github.com/inliniac/suricata" @@ -51,6 +51,10 @@ detectOS() else export OS=other fi + java_tools=$(ls $JRE_HOME) + for tool in $java_tools; do + alias "$tool=$JRE_HOME/$tool" + done printf "We have detected a derivitive OS of $OS.\n\n" } ##### End Platform detection #####