diff --git a/envsetup.sh b/envsetup.sh index 785e56c1a..b118e5aaf 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -935,6 +935,11 @@ function resgrep() for dir in `find . -name .repo -prune -o -name .git -prune -o -name res -type d`; do find $dir -type f -name '*\.xml' -print0 | xargs -0 grep --color -n "$@"; done; } +function mangrep() +{ + find . -name .repo -prune -o -name .git -prune -o -path ./out -prune -o -type f -name 'AndroidManifest.xml' -print0 | xargs -0 grep --color -n "$@" +} + case `uname -s` in Darwin) function mgrep()