浏览代码
Fix 'sed: RE error: illegal byte sequence' (#1714)
... by unsetting `LC_ALL` and passing `LC_CTYPE=C` to `sed`.
This commit fixes issue #1454.
pull/1826/head
tuzi3040
3 年前
提交者
GitHub
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有
1 个文件被更改,包括
2 次插入 和
2 次删除
-
libexec/pyenv-help
|
|
@ -27,8 +27,8 @@ command_path() { |
|
|
|
} |
|
|
|
|
|
|
|
extract_initial_comment_block() { |
|
|
|
LC_ALL=C |
|
|
|
LANG=C |
|
|
|
LC_ALL= \ |
|
|
|
LC_CTYPE=C \ |
|
|
|
sed -ne " |
|
|
|
/^#/ !{ |
|
|
|
q |
|
|
|