From: Bruce Momjian Date: Tue, 8 Oct 1996 04:09:50 +0000 (+0000) Subject: Add execute permission. X-Git-Tag: REL2_0~476 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd09982f3ed7daa855e06629794b01f5419d3784;p=postgresql Add execute permission. --- diff --git a/src/MAKE_CTAGS b/src/MAKE_CTAGS new file mode 100644 index 0000000000..ef99564694 --- /dev/null +++ b/src/MAKE_CTAGS @@ -0,0 +1,10 @@ +#!/bin/sh +trap "rm -f /tmp/$$" 0 1 2 3 15 +rm -f ./tags +find `pwd`/ -type f -name '*.[chyl]' -print|xargs ctags -t -a -f tags +sort tags >/tmp/$$ && mv /tmp/$$ tags + +find . -type d -print |while read DIR +do + [ "$DIR" != "." ] && ln -f -s `pwd`/tags $DIR/tags +done