Roan Huang

Ensure that $ONOS_CELL variable will not be overwritten when bash profile is loaded

you don't need to reload cell enviroment when open new terminal.

Change-Id: I073a6de71376e868d96e5216509c1d6b52bc7e52
......@@ -27,6 +27,9 @@ export PATH="$PATH:$ONOS_ROOT/tools/dev/bin:$ONOS_ROOT/tools/test/bin"
export PATH="$PATH:$ONOS_ROOT/tools/build"
export PATH="$PATH:$MAVEN/bin:$KARAF_ROOT/bin"
# Setup cell enviroment
export ONOS_CELL=${ONOS_CELL:-local}
# Convenience utility to warp to various ONOS source projects
# e.g. 'o api', 'o dev', 'o'
function o {
......@@ -112,7 +115,7 @@ function cell {
fi
}
cell local >/dev/null # Default cell is the local VMs
cell $ONOS_CELL > /dev/null
# Lists available cells
function cells {
......