Browse Source

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 years ago
committed by GitHub
parent
commit
d51999adf5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libexec/pyenv-help

+ 2
- 2
libexec/pyenv-help View File

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

Loading…
Cancel
Save