Skip to content

Commit a416b49

Browse files
committed
Set locale to en_US.UTF-8
Apparently UTF-8 isn't actually valid on macOS Fixes: #74 Signed-off-by: Hector Martin <[email protected]>
1 parent d16bc29 commit a416b49

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

scripts/bootstrap-dev.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
set -e
55

6-
export LANG=C
7-
export LC_ALL=C
6+
export LC_ALL=en_US.UTF-8
7+
export LANG=en_US.UTF-8
88
export PATH="/usr/bin:/bin:/usr/sbin:/sbin:$PATH"
99

1010
export VERSION_FLAG=https://cdn.asahilinux.org/installer-dev/latest

scripts/bootstrap-prod.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
set -e
55

6-
export LANG=C
7-
export LC_ALL=C
6+
export LC_ALL=en_US.UTF-8
7+
export LANG=en_US.UTF-8
88
export PATH="/usr/bin:/bin:/usr/sbin:/sbin:$PATH"
99

1010
export VERSION_FLAG=https://cdn.asahilinux.org/installer/latest

scripts/bootstrap.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
set -e
55

6-
export LANG=C
7-
export LC_ALL=C
6+
export LC_ALL=en_US.UTF-8
7+
export LANG=en_US.UTF-8
88
export PATH="/usr/bin:/bin:/usr/sbin:/sbin:$PATH"
99

1010
export INSTALLER_BASE=http://localhost:5000

src/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ set -e
55

66
cd "$(dirname "$0")"
77

8-
export LC_ALL=UTF-8
9-
export LANG=UTF-8
8+
export LC_ALL=en_US.UTF-8
9+
export LANG=en_US.UTF-8
1010

1111
export DYLD_LIBRARY_PATH=$PWD/Frameworks/Python.framework/Versions/Current/lib
1212
export DYLD_FRAMEWORK_PATH=$PWD/Frameworks

0 commit comments

Comments
 (0)