trying to resolve multiple java versions issue 93/3993/1
authorAshlee Young <ashlee@wildernessvoice.com>
Sat, 5 Dec 2015 16:48:22 +0000 (08:48 -0800)
committerAshlee Young <ashlee@wildernessvoice.com>
Sat, 5 Dec 2015 16:48:22 +0000 (08:48 -0800)
Change-Id: Ie15a11f7ea568ab0ce06f8748acde4c143b4af55
Signed-off-by: Ashlee Young <ashlee@wildernessvoice.com>
build.sh

index 42c6940..5b39843 100755 (executable)
--- 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 #####