diff options
| author | Fred Hebert <mononcqc@ferd.ca> | 2016-06-11 11:52:26 -0400 | 
|---|---|---|
| committer | Fred Hebert <mononcqc@ferd.ca> | 2016-06-11 11:52:26 -0400 | 
| commit | 87f9950839f8d7e9fd904c7ff21c95fb5aeac726 (patch) | |
| tree | aa46d668be4b1630e4c2d44203314ed074ea3df0 | |
| parent | 398b3085fc20c961a333f7b8f9277e5eb70b3482 (diff) | |
Expand os ENV proxy support to bootstrap script
| -rwxr-xr-x | bootstrap | 6 | 
1 files changed, 5 insertions, 1 deletions
| @@ -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)), | 
