浏览代码

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
pull/1814/head
Smiler Lee 5 年前
提交者 GitHub
父节点
当前提交
592271b86f
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      libexec/pyenv-help

+ 1
- 1
libexec/pyenv-help 查看文件

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

正在加载...
取消
保存