Skip to content

Commit

Permalink
install: Make sure the en_US.UTF-8 locale is available.
Browse files Browse the repository at this point in the history
We need to make sure the en_US.UTF-8 locale has been generated before
setting the locale via the environment.

Fixes part of #9946.
  • Loading branch information
timabbott committed Jul 18, 2018
1 parent f5d44e7 commit f228eab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/lib/install
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ set -x
ZULIP_PATH="$(readlink -f $(dirname $0)/../..)"

# Force a known locale. Some packages on PyPI fail to install in some locales.
locale-gen en_US.UTF-8
export LC_ALL="en_US.UTF-8"

# Check for a supported OS release.
Expand Down

0 comments on commit f228eab

Please sign in to comment.