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