Thomas Vachuska
Committed by Gerrit Code Review

Fixing onos-build-selective to warp into the $ONOS_ROOT directory as a first thing.

Change-Id: Ic953978f1b6add6909bde2fef2fddd8471f97bf3
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
3 # Selectively builds only those projects that contained modified Java files. 3 # Selectively builds only those projects that contained modified Java files.
4 # ---------------------------------------------------------------------------- 4 # ----------------------------------------------------------------------------
5 5
6 +cd $ONOS_ROOT
7 +
6 projects=$(find $ONOS_ROOT -type f -path '*/src/*' \ 8 projects=$(find $ONOS_ROOT -type f -path '*/src/*' \
7 -exec $ONOS_ROOT/tools/dev/bin/onos-build-selective-hook {} \; | \ 9 -exec $ONOS_ROOT/tools/dev/bin/onos-build-selective-hook {} \; | \
8 grep -v -f $ONOS_ROOT/tools/dev/bin/onos-build-selective.exclude | \ 10 grep -v -f $ONOS_ROOT/tools/dev/bin/onos-build-selective.exclude | \
......