Browse Source

Update src/rebar_prv_shell.erl

Co-Authored-By: Fred Hebert <mononcqc@ferd.ca>
pull/2090/head
Tristan Sloughter 6 years ago
committed by GitHub
parent
commit
ca22249d7c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_prv_shell.erl

+ 1
- 1
src/rebar_prv_shell.erl View File

@ -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]\.*)",

Loading…
Cancel
Save