OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
9070129
)
Merge "Function to grep AndroidManifest.xml files." into jb-mr2-dev
author
Jeff Sharkey
<jsharkey@android.com>
Fri, 8 Mar 2013 18:53:04 +0000
(18:53 +0000)
committer
Android (Google) Code Review
<android-gerrit@google.com>
Fri, 8 Mar 2013 18:53:04 +0000
(18:53 +0000)
envsetup.sh
patch
|
blob
|
history
diff --git
a/envsetup.sh
b/envsetup.sh
index
785e56c
..
b118e5a
100644
(file)
--- 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()