mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
9c4bfa6669
commit
cf0ac6a71a
|
@ -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::
|
||||
|
|
Loading…
Reference in New Issue