Ray Milkey

'o' command should not look at the buck-out tree

Change-Id: I76d0581ba1fd6f2c87232be69d70a0ae57f1cb71
...@@ -41,7 +41,7 @@ export ONOS_SCENARIOS=$ONOS_ROOT/tools/test/scenarios ...@@ -41,7 +41,7 @@ export ONOS_SCENARIOS=$ONOS_ROOT/tools/test/scenarios
41 # Convenience utility to warp to various ONOS source projects 41 # Convenience utility to warp to various ONOS source projects
42 # e.g. 'o api', 'o dev', 'o' 42 # e.g. 'o api', 'o dev', 'o'
43 function o { 43 function o {
44 - cd $(find $ONOS_ROOT/ -type d -and \( -name '.git' -o -name 'target' -o -name 'gen-src' -o -name 'src' \) -prune -o -type d | \ 44 + cd $(find $ONOS_ROOT/ -type d -and \( -name 'buck-out' -o -name '.git' -o -name 'target' -o -name 'gen-src' -o -name 'src' \) -prune -o -type d | \
45 egrep "${1:-$ONOS_ROOT}" | head -n 1) 45 egrep "${1:-$ONOS_ROOT}" | head -n 1)
46 } 46 }
47 47
......