Explorar el Código

Update src/rebar_prv_shell.erl

Co-Authored-By: Fred Hebert <mononcqc@ferd.ca>
pull/2090/head
Tristan Sloughter hace 6 años
cometido por GitHub
padre
commit
ca22249d7c
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
      src/rebar_prv_shell.erl

+ 1
- 1
src/rebar_prv_shell.erl Ver fichero

@ -599,7 +599,7 @@ maybe_set_env_vars(State) ->
end.
handle_env_var_line(Line) ->
Trimmed = string:trim(Line, both, [$ ]),
Trimmed = rebar_string:trim(Line, both, [$\s]),
%% ignore lines starting with # and
%% fail if there are spaces around =
case re:run(Trimmed, "^(?<key>[^#][^\s=]*)=(?<value>[^\s]\.*)",

Cargando…
Cancelar
Guardar