summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap2
-rw-r--r--src/rebar_utils.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index ad94561..8a0afd6 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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)),
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl
index 77d5e71..70741e4 100644
--- a/src/rebar_utils.erl
+++ b/src/rebar_utils.erl
@@ -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)),