diff options
author | Tristan Sloughter <t@crashfast.com> | 2019-05-27 11:53:11 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-27 11:53:11 -0600 |
commit | ca22249d7c0920ff4a8cc916e4a8c8a2275b52b6 (patch) | |
tree | bd22a5ee6f4c83bbe9358dc582a9de681579e771 /src | |
parent | 9d4a440c1229d78fb76f741ac07c9fcffa886600 (diff) |
Update src/rebar_prv_shell.erl
Co-Authored-By: Fred Hebert <mononcqc@ferd.ca>
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_shell.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_shell.erl b/src/rebar_prv_shell.erl index cea95ec..406b90a 100644 --- a/src/rebar_prv_shell.erl +++ b/src/rebar_prv_shell.erl @@ -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]\.*)", |