forked from openkylin/platform_build
Make cgrep check .hpp files as well.
Change-Id: Ie8e9ce7270233ac01d7bc80bda5adc28afa158ed
This commit is contained in:
parent
9cef682306
commit
019611958f
|
@ -1278,7 +1278,7 @@ function jgrep()
|
|||
|
||||
function cgrep()
|
||||
{
|
||||
find . -name .repo -prune -o -name .git -prune -o -name out -prune -o -type f \( -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.h' \) -print0 | xargs -0 grep --color -n "$@"
|
||||
find . -name .repo -prune -o -name .git -prune -o -name out -prune -o -type f \( -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \) -print0 | xargs -0 grep --color -n "$@"
|
||||
}
|
||||
|
||||
function resgrep()
|
||||
|
|
Loading…
Reference in New Issue