Minor updates for the tools scripts:
* Add ONOS-specific directories to the executable PATH in the envDefaults file * Fix a typo inside "onos-show-cell": don't show OC0, because it is not used
Showing
2 changed files
with
5 additions
and
1 deletions
... | @@ -9,6 +9,10 @@ export KARAF_ZIP=${KARAF_ZIP:-~/Downloads/apache-karaf-3.0.1.zip} | ... | @@ -9,6 +9,10 @@ export KARAF_ZIP=${KARAF_ZIP:-~/Downloads/apache-karaf-3.0.1.zip} |
9 | export KARAF_TAR=${KARAF_TAR:-~/Downloads/apache-karaf-3.0.1.tar.gz} | 9 | export KARAF_TAR=${KARAF_TAR:-~/Downloads/apache-karaf-3.0.1.tar.gz} |
10 | export KARAF_DIST=$(basename $KARAF_ZIP .zip) | 10 | export KARAF_DIST=$(basename $KARAF_ZIP .zip) |
11 | 11 | ||
12 | +# Add ONOS-specific directories to the exectable PATH | ||
13 | +export PATH="$PATH:$ONOS_ROOT/tools/dev/bin:$ONOS_ROOT/tools/test/bin" | ||
14 | +export PATH="$PATH:$ONOS_ROOT/tools/build" | ||
15 | + | ||
12 | # Fallback build number us derived from from the user name & time | 16 | # Fallback build number us derived from from the user name & time |
13 | export BUILD_NUMBER=${BUILD_NUMBER:-$(id -un)~$(date +'%Y/%m/%d@%H:%M')} | 17 | export BUILD_NUMBER=${BUILD_NUMBER:-$(id -un)~$(date +'%Y/%m/%d@%H:%M')} |
14 | 18 | ... | ... |
... | @@ -42,7 +42,7 @@ fi | ... | @@ -42,7 +42,7 @@ fi |
42 | 42 | ||
43 | echo "ONOS_CELL=${ONOS_CELL}" | 43 | echo "ONOS_CELL=${ONOS_CELL}" |
44 | echo "ONOS_NIC=${ONOS_NIC}" | 44 | echo "ONOS_NIC=${ONOS_NIC}" |
45 | -for n in {0..9}; do | 45 | +for n in {1..9}; do |
46 | ocn="OC${n}" | 46 | ocn="OC${n}" |
47 | if [ -n "${!ocn}" ]; then | 47 | if [ -n "${!ocn}" ]; then |
48 | echo "$ocn=${!ocn}" | 48 | echo "$ocn=${!ocn}" | ... | ... |
-
Please register or login to post a comment