Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4da19d7 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Function to grep AndroidManifest.xml files." into jb-mr2-dev

parents 90701299 50b61e9e
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -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;
    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
case `uname -s` in
    Darwin)
    Darwin)
        function mgrep()
        function mgrep()