mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
Fix 'sed: RE error: illegal byte sequence' (#1670)
... which is caused by `realpath.dylib` containing illegal UTF-8 byte sequence, and `LC_CTYPE` won't take effect if `LC_ALL` happens to be set to something other than `C`. This commit fixes issue pyenv/pyenv#1454. Ref: https://stackoverflow.com/a/23584470
This commit is contained in:
parent
a992892225
commit
592271b86f
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ command_path() {
|
|||
}
|
||||
|
||||
extract_initial_comment_block() {
|
||||
LC_CTYPE=C
|
||||
LC_ALL=C
|
||||
LANG=C
|
||||
sed -ne "
|
||||
/^#/ !{
|
||||
|
|
Loading…
Reference in a new issue