Corrected typo and update environment variables 69/2769/1
authorAshlee Young <ashlee@onosfw.com>
Fri, 23 Oct 2015 17:49:22 +0000 (10:49 -0700)
committerAshlee Young <ashlee@onosfw.com>
Fri, 23 Oct 2015 17:49:22 +0000 (10:49 -0700)
Change-Id: I46d9cdb53a88b8b69b76e91d6f0d396f8b1a19a8
Signed-off-by: Ashlee Young <ashlee@onosfw.com>
build.sh
setenv.sh

index 84387a9..2a6b78a 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -20,7 +20,7 @@
 ##### Settings #####
 VERSION=1.0.0
 AUTHOR="Ashlee Young"
-MODIFIED="October 18, 2015"
+MODIFIED="October 23, 2015"
 GERRITURL="git clone ssh://im2bz2pee@gerrit.opnfv.org:29418/onosfw"
 ONOSURL="https://github.com/opennetworkinglab/onos"
 SURICATAURL="https://github.com/inliniac/suricata"
@@ -171,7 +171,7 @@ installMaven()
             cd $GERRITROOT 
         fi
     else
-        printf "Maven looks to be peroply installed at $M2_HOME. \n\n"
+        printf "Maven looks to be properly installed at $M2_HOME. \n\n"
     fi       
 }
 ##### End Install Maven #####
index 7900eba..a9e3757 100755 (executable)
--- a/setenv.sh
+++ b/setenv.sh
@@ -1,6 +1,9 @@
 #!/bin/bash
 export GERRITROOT="$(pwd)"
-export ANT_HOME=$GERRITROOT/framework/src/ant/apache-ant-1.9.6
-export M2_HOME=$GERRITROOT/framework/build/maven
+export ONOSROOT=$GERRITROOT/framework/src/onos/
+export BUILDROOT=$GERRITROOT/framework/build
+export JAVA_HOME=/etc/alternatives/java_sdk
+export ANT_HOME=$GERRITROOT/framework/build/ant/apache-ant-1.9.6
+export M2_HOME=$GERRITROOT/framework/build/maven/build
 export M2=$M2_HOME/bin
-export PATH=$PATH:$ANT_HOME/bin:$M2
+export PATH=$PATH:$ANT_HOME/bin:$M2:$JAVA_HOME/bin