summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-09-29 20:31:06 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-09-29 20:31:06 (GMT)
commit8d50d628b83c3656381f217b0f5b63f967adab2a (patch)
tree3f66abfbd7dc69f094df6907106a44f9f19943eb
parent80bc7dc59e139078eea198f557b631462d75afde (diff)
downloadcpython-8d50d628b83c3656381f217b0f5b63f967adab2a.zip
cpython-8d50d628b83c3656381f217b0f5b63f967adab2a.tar.gz
cpython-8d50d628b83c3656381f217b0f5b63f967adab2a.tar.bz2
Issue #28258: Explain the LC_ALL change in a comment
-rw-r--r--Makefile.pre.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index b19d09f..b379ce9 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1623,6 +1623,10 @@ distclean: clobber
Modules/Setup Modules/Setup.local Modules/Setup.config \
Modules/ld_so_aix Modules/python.exp Misc/python.pc
-rm -f python*-gdb.py
+ # Issue #28258: set LC_ALL to avoid issues with Estonian locale.
+ # Expansion is performed here by shell (spawned by make) itself before
+ # arguments are passed to find. So LC_ALL=C must be set as a separate
+ # command.
LC_ALL=C; find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \
-o -name '*.orig' -o -name '*.rej' \