From 0c26d3426988d55e0a9471fab3a3fd9d922dd2b5 Mon Sep 17 00:00:00 2001 From: Mike Dodd Date: Thu, 7 Apr 2011 13:29:06 -0700 Subject: [PATCH] Fix typo that broke cgrep. Change-Id: Ic87f4bff1ee52a201c197c5664ff2e91648b0b53 --- envsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envsetup.sh b/envsetup.sh index 1443760ee..ebde85cf1 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -831,7 +831,7 @@ function jgrep() function cgrep() { - find .a -name .repo -prune -o -name .git -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 -type f \( -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.h' \) -print0 | xargs -0 grep --color -n "$@" } function resgrep()