summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-08-17 11:58:12 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-08-17 11:58:12 (GMT)
commitcf0ac6a71ae51249a05521f49c1a0fabbb948488 (patch)
tree69b0d9c8165dfe7018b6f9c4df928d3f84ff7919 /Makefile.pre.in
parent9c4bfa6669e220efdd379b9f8e7db32bb4e25e72 (diff)
downloadcpython-cf0ac6a71ae51249a05521f49c1a0fabbb948488.zip
cpython-cf0ac6a71ae51249a05521f49c1a0fabbb948488.tar.gz
cpython-cf0ac6a71ae51249a05521f49c1a0fabbb948488.tar.bz2
Fix "make tags": set locale to C to call sort
vim expects that the tags file is sorted using english collation, so it fails if the locale is french for example. Use LC_ALL=C to force english sorting order. Issue #27726.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 2101e70..105481a 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1566,7 +1566,7 @@ tags::
ctags -w Include/*.h; \
for i in $(SRCDIRS); do ctags -w -a $$i/*.[ch]; \
done; \
- sort -o tags tags
+ LC_ALL=C sort -o tags tags
# Create a tags file for GNU Emacs
TAGS::