浏览代码

Update src/rebar_prv_shell.erl

Co-Authored-By: Fred Hebert <mononcqc@ferd.ca>
pull/2090/head
Tristan Sloughter 6 年前
提交者 GitHub
父节点
当前提交
ca22249d7c
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_prv_shell.erl

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

正在加载...
取消
保存