Parcourir la 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 il y a 5 ans
committed by GitHub
Parent
révision
d51999adf5
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      libexec/pyenv-help

+ 2
- 2
libexec/pyenv-help Voir le fichier

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

Chargement…
Annuler
Enregistrer