From: Bruce Momjian Date: Mon, 15 Jul 2002 14:45:51 +0000 (+0000) Subject: Fix make_ctags for exhuberant tags. X-Git-Tag: REL7_3~1207 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c580b8d979a94ea0e41578c7ac1d4625d242853;p=thirdparty%2Fpostgresql.git Fix make_ctags for exhuberant tags. --- diff --git a/src/tools/make_ctags b/src/tools/make_ctags index 0999f12590d..ac7134f3d81 100755 --- a/src/tools/make_ctags +++ b/src/tools/make_ctags @@ -2,9 +2,9 @@ trap "rm -f /tmp/$$" 0 1 2 3 15 rm -f ./tags -if [ "`ctags --version 2>&1 | grep Exuberant`" != "Exuberant" ] -then FLAGS="-dt" -else FLAGS="--c-types=+dfmstuv" +if ctags --version 2>&1 | grep Exuberant >/dev/null +then FLAGS="--c-types=+dfmstuv" +else FLAGS="-dt" fi find `pwd`/ \( -name _deadcode -a -prune \) -o \