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

Commit a00af080 authored by Wei Wang's avatar Wei Wang Committed by android-build-merger
Browse files

Merge "Support Android.bp in mgrep" am: 1ee0fa0d

am: 6528395f

Change-Id: I891dd479c6c7220efd154ca56f6438e1ce1b7415
parents 9fa9e2a4 6528395f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1234,7 +1234,7 @@ case `uname -s` in
    Darwin)
        function mgrep()
        {
            find -E . -name .repo -prune -o -name .git -prune -o -path ./out -prune -o -type f -iregex '.*/(Makefile|Makefile\..*|.*\.make|.*\.mak|.*\.mk)' \
            find -E . -name .repo -prune -o -name .git -prune -o -path ./out -prune -o -type f -iregex '.*/(Makefile|Makefile\..*|.*\.make|.*\.mak|.*\.mk|.*\.bp)' \
                -exec grep --color -n "$@" {} +
        }

@@ -1248,7 +1248,7 @@ case `uname -s` in
    *)
        function mgrep()
        {
            find . -name .repo -prune -o -name .git -prune -o -path ./out -prune -o -regextype posix-egrep -iregex '(.*\/Makefile|.*\/Makefile\..*|.*\.make|.*\.mak|.*\.mk)' -type f \
            find . -name .repo -prune -o -name .git -prune -o -path ./out -prune -o -regextype posix-egrep -iregex '(.*\/Makefile|.*\/Makefile\..*|.*\.make|.*\.mak|.*\.mk|.*\.bp)' -type f \
                -exec grep --color -n "$@" {} +
        }