make_etags: avoid recursive symbolic creation. - Mailing list pgsql-hackers

From Ashwin Agrawal
Subject make_etags: avoid recursive symbolic creation.
Date
Msg-id CALfoeisPfcPYiXMakeagNSwroqS8i3jvW_0MK-JQK9EqHFZqOg@mail.gmail.com
Whole thread Raw
Responses Re: make_etags: avoid recursive symbolic creation.
List pgsql-hackers
src/tools/make_etags creates link to TAGS file from each and every directory in source tree. It works fine without all those links in each and every directory in source code so remove the extra work and annoyance.

diff --git a/src/tools/make_etags b/src/tools/make_etags
index 3ce96bc3ca..2bfd1314fe 100755
--- a/src/tools/make_etags
+++ b/src/tools/make_etags
@@ -6,8 +6,3 @@ rm -f ./TAGS

 find `pwd`/ -type f -name '*.[chyl]' -print |
        xargs etags --append -o TAGS
-
-find . \( -name CVS -prune \) -o \( -name .git -prune \) -o -type d -print |
-while read DIR
-do     [ "$DIR" != "." ] && ln -f -s `pwd`/TAGS "$DIR"
-done

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH][PROPOSAL] Refuse setting toast.* reloptions when TOAST table does not exist
Next
From: Haribabu Kommi
Date:
Subject: Re: [HACKERS] Refactor handling of database attributes betweenpg_dump and pg_dumpall