Browse Source

Fix for cases with no proxy configured.

pull/579/head
CarlosEDP 10 years ago
parent
commit
46ca2bb6b0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      bootstrap
  2. +1
    -1
      src/rebar_utils.erl

+ 1
- 1
bootstrap View File

@ -103,7 +103,7 @@ get_http_var() ->
end.
get_http(Scheme) ->
proplists:get_value(Scheme, get_http_var(), "").
proplists:get_value(Scheme, get_http_var(), []).
set_httpc_options() ->
set_httpc_options(https_proxy, get_http(https_proxy)),

+ 1
- 1
src/rebar_utils.erl View File

@ -674,7 +674,7 @@ get_http_var() ->
end.
get_http(Scheme) ->
proplists:get_value(Scheme, get_http_var(), "").
proplists:get_value(Scheme, get_http_var(), []).
set_httpc_options() ->
set_httpc_options(https_proxy, get_http(https_proxy)),

Loading…
Cancel
Save