]> granicus.if.org Git - python/commitdiff
Issue #28258: Explain the LC_ALL change in a comment
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 29 Sep 2016 20:33:02 +0000 (22:33 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 29 Sep 2016 20:33:02 +0000 (22:33 +0200)
Makefile.pre.in

index 87db1a40876903347acf5d1e3b49a1767adc3530..f745b15190f8ea244d2e96948130bc8c156fff3f 100644 (file)
@@ -1419,6 +1419,10 @@ distclean: clobber
                Modules/ld_so_aix Modules/python.exp Misc/python.pc
        -rm -f python*-gdb.py
        -rm -f pybuilddir.txt
+       # 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' \