Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 01000e8

Browse files
committed
Partially revert #30008
1 parent 2ed040b commit 01000e8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

build/bin/sage-bootstrap-python

-9
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,6 @@ fi
2727
# is accessible by this python; this is to guard on Cygwin against Pythons
2828
# installed somewhere else in Windows.
2929

30-
# Trac #30008: Make it work even if the environment tries to sabotage UTF-8
31-
# operation in Python 3.0.x-3.6.x by setting LC_ALL=C or similar.
32-
33-
if [ "$LC_ALL" = "C" -o "$LANG" = "C" -o "$LC_CTYPE" = "C" ]; then
34-
LC_ALL=$(locale -a | grep -E -i '^(c|en_us)[-.]utf-?8$' | head -n 1)
35-
LANG=$LC_ALL
36-
export LC_ALL
37-
export LANG
38-
fi
3930

4031
PYTHONS="python python3 python3.8 python3.7 python2.7 python3.6 python2"
4132
for PY in $PYTHONS; do

0 commit comments

Comments
 (0)