From 259e5b7a942c58e88f0a312add009caac70a7863 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Sat, 30 Jan 2010 11:45:03 -0800 Subject: [PATCH] godir search should ignore .repo directory --- envsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envsetup.sh b/envsetup.sh index 8b0603922c..bb346de4aa 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -988,7 +988,7 @@ function godir () { T=$(gettop) if [[ ! -f $T/filelist ]]; then echo -n "Creating index..." - (cd $T; find . -wholename ./out -prune -o -type f > filelist) + (cd $T; find . -wholename ./out -prune -o -wholename ./.repo -prune -o -type f > filelist) echo " Done" echo "" fi