From d333c63fdec8b064184b0a26f8d777f267577fde Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Sat, 5 Dec 2015 08:48:22 -0800 Subject: trying to resolve multiple java versions issue Change-Id: Ie15a11f7ea568ab0ce06f8748acde4c143b4af55 Signed-off-by: Ashlee Young --- build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ##### -- cgit 1.2.3-korg