1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-12 13:33:45 -05:00

Fix 'sed: RE error: illegal byte sequence' (#1714)

... by unsetting `LC_ALL` and passing `LC_CTYPE=C` to `sed`.

This commit fixes issue #1454.
This commit is contained in:
tuzi3040
2021-02-18 00:12:45 +08:00
committed by GitHub
parent 9f12152463
commit d51999adf5

View File

@@ -27,8 +27,8 @@ command_path() {
} }
extract_initial_comment_block() { extract_initial_comment_block() {
LC_ALL=C LC_ALL= \
LANG=C LC_CTYPE=C \
sed -ne " sed -ne "
/^#/ !{ /^#/ !{
q q