瀏覽代碼

Expand os ENV proxy support to bootstrap script

pull/1230/head
Fred Hebert 9 年之前
父節點
當前提交
87f9950839
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. +5
    -1
      bootstrap

+ 5
- 1
bootstrap 查看文件

@ -133,7 +133,11 @@ get_rebar_config() ->
end.
get_http_vars(Scheme) ->
proplists:get_value(Scheme, get_rebar_config(), []).
OS = case os:getenv(atom_to_list(Scheme)) of
Str when is_list(Str) -> Str;
_ -> []
end,
proplists:get_value(Scheme, get_rebar_config(), OS).
set_httpc_options() ->
set_httpc_options(https_proxy, get_http_vars(https_proxy)),

Loading…
取消
儲存