From abcf7603c029f1c27c58e7f8f0c6d1d6a08a45e3 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Wed, 4 Oct 2006 20:42:19 +0000
Subject: [PATCH] Exclude pgindent from affecting the ecpg regression
 directory.

---
 src/tools/pgindent/README | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README
index 3a6a52ace43..6fdff4ee678 100644
--- a/src/tools/pgindent/README
+++ b/src/tools/pgindent/README
@@ -11,7 +11,9 @@ symbols.
 
 From the top directory, run:
 
-  find . -name '*.[ch]' -type f -print | grep -v 's_lock.h' | xargs -n100 pgindent
+	find . -name '*.[ch]' -type f -print |
+	egrep -v '/s_lock.h|src/interfaces/ecpg/test/expected/' |
+	xargs -n100 pgindent
 
 We have standardized on NetBSD's indent.  We have fixed a few bugs which 
 requre the NetBSD source to be patched with indent.bsd.patch patch.  A 
-- 
GitLab