summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2004-02-01 23:11:33 +0000
committerBruce Momjian2004-02-01 23:11:33 +0000
commit10bb17e3341c864c8aebc4aa2cda89e674102046 (patch)
treef37dd91af8bc0a05abb3b59be7dc8cf23d1bfa9c
parente1826d037a8479a350f8d846c06edfdd2b02944f (diff)
Set locale to C before doing sort in make_ctags.
-rwxr-xr-xsrc/tools/make_ctags2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/make_ctags b/src/tools/make_ctags
index 072b9bb9d28..4ce985b0821 100755
--- a/src/tools/make_ctags
+++ b/src/tools/make_ctags
@@ -10,6 +10,8 @@ fi
find `pwd`/ \( -name _deadcode -a -prune \) -o \
-type f -name '*.[chyl]' -print|xargs ctags "$FLAGS" -a -f tags
+LANG=C
+LC_ALL=C
sort tags >/tmp/$$ && mv /tmp/$$ tags
find . -name 'CVS' -prune -o -type d -print |while read DIR