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

Commit bb67e3ae authored by David Gross's avatar David Gross Committed by android-build-merger
Browse files

Merge "Teach mgrep to find soong/*.go files."

am: 46d9bf8f

Change-Id: I22910cf7fe9b08b2b98994e60a96769f90b680f7
parents 64517075 46d9bf8f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1241,7 +1241,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|.*\.bp)' \
            find -E . -name .repo -prune -o -name .git -prune -o -path ./out -prune -o \( -iregex '.*/(Makefile|Makefile\..*|.*\.make|.*\.mak|.*\.mk|.*\.bp)' -o -regex '(.*/)?soong/[^/]*.go' \) -type f \
                -exec grep --color -n "$@" {} +
        }

@@ -1255,7 +1255,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|.*\.bp)' -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)' -o -regextype posix-extended -regex '(.*/)?soong/[^/]*.go' \) -type f \
                -exec grep --color -n "$@" {} +
        }