Fixed obs to ignore disconnected foo project.
Change-Id: I216611a83fbafe22e0a2469f8d058200395d0a77
diff --git a/tools/dev/bin/onos-build-selective b/tools/dev/bin/onos-build-selective
index 0becd32..be9e857 100755
--- a/tools/dev/bin/onos-build-selective
+++ b/tools/dev/bin/onos-build-selective
@@ -3,8 +3,9 @@
# Selectively builds only those projects that contained modified Java files.
# ----------------------------------------------------------------------------
+# TODO: figure out a more elegant way of ignoring disconnected projects
projects=$(find $ONOS_ROOT -name '*.java' \
- -not -path '*/openflowj/*' -and -not -path '.git/*' -and -not -path '*/archetypes/*' \
+ -not -path '.git/*' -and -not -path '*/archetypes/*' -and -not -path '*/foo/*' \
-exec $ONOS_ROOT/tools/dev/bin/onos-build-selective-hook {} \; | \
sort -u | sed "s:$ONOS_ROOT::g" | tr '\n' ',' | \
sed 's:/,:,:g;s:,/:,:g;s:^/::g;s:,$::g')