]> granicus.if.org Git - postgresql/blobdiff - src/tools/make_etags
Small improvements in comments in async.c.
[postgresql] / src / tools / make_etags
index 612c97f1e94603d2f458601a7d7f230f78bdcca6..3ce96bc3cabf626f3ed944f3c71bf2ef5d8ee193 100755 (executable)
@@ -1,12 +1,13 @@
 #!/bin/sh
 
-# $PostgreSQL: pgsql/src/tools/make_etags,v 1.5 2009/01/14 21:28:32 petere Exp $
+# src/tools/make_etags
 
 rm -f ./TAGS
-find `pwd`/ -type f -name '*.[chyl]' -print | \
-  xargs etags --append -o TAGS
 
-find . -type d \( -name CVS -o -name .git -prune -o -print \) | \
-while read DIR; do
-  [ "$DIR" != "." ] && ln -f -s `pwd`/TAGS $DIR
+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