diff options
author | Ashlee Young <ashlee@wildernessvoice.com> | 2015-12-05 08:48:22 -0800 |
---|---|---|
committer | Ashlee Young <ashlee@wildernessvoice.com> | 2015-12-05 08:48:22 -0800 |
commit | d333c63fdec8b064184b0a26f8d777f267577fde (patch) | |
tree | 0d530714e69a46909734c9de3d64dd7e9a77d5a0 | |
parent | f6df38f0159e800c8acfc80ee52335045504dac8 (diff) |
trying to resolve multiple java versions issue
Change-Id: Ie15a11f7ea568ab0ce06f8748acde4c143b4af55
Signed-off-by: Ashlee Young <ashlee@wildernessvoice.com>
-rwxr-xr-x | build.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 ##### |