Explorar el Código

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 hace 5 años
cometido por GitHub
padre
commit
592271b86f
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      libexec/pyenv-help

+ 1
- 1
libexec/pyenv-help Ver fichero

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

Cargando…
Cancelar
Guardar