Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,11 @@ if [ -f "$VENV/pyvenv.cfg" ]; then
sed -i'' -e 's/\(include-system-site-packages\s*=\s*\)true/\1false/g' $VENV/pyvenv.cfg
fi

# Attempt to force a UTF-8 locale without being specific to English
export LANG=${LANG:-C.UTF-8}
(echo $LANG | grep -qi utf-8) || export LC_ALL=$LANG.UTF-8
# Attempt to force a UTF-8 locale without forcing English
LANG=${LANG:=C}
LC_ALL=${LC_ALL:=C}
export LANG="${LANG/.*/}.utf-8"
export LC_ALL="${LC_ALL/.*/}.utf-8"

if [ -z "$NO_CLOBBER" ] && \
[ ! -e "$VENV/bin/pip" -o ! -e "$VENV/bin/$PYTHON" ] || \
Expand Down
Loading