install.sh: set LC_ALL=en_US.UTF-8 on python3 thunk

scylla-python3 causes segfault when non-default locale specified.
As workaround for this, we need to set LC_ALL=en_US.UTF_8 on python3 thunk.

Fixes #7408

Closes #7414
This commit is contained in:
Takuya ASADA
2020-10-13 05:38:54 +09:00
committed by Pekka Enberg
parent aec70d9953
commit ff129ee030

View File

@@ -130,6 +130,7 @@ relocate_python3() {
cp "$script" "$relocateddir"
cat > "$install"<<EOF
#!/usr/bin/env bash
export LC_ALL=en_US.UTF-8
x="\$(readlink -f "\$0")"
b="\$(basename "\$x")"
d="\$(dirname "\$x")"