make_etags: avoid recursive symbolic creation.

Поиск
Список
Период
Сортировка
От Ashwin Agrawal
Тема make_etags: avoid recursive symbolic creation.
Дата
Msg-id CALfoeisPfcPYiXMakeagNSwroqS8i3jvW_0MK-JQK9EqHFZqOg@mail.gmail.com
обсуждение исходный текст
Ответы Re: make_etags: avoid recursive symbolic creation.
Список 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 по дате отправления: