This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
SisMaker
/
rebar3
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
62
Wiki
Activity
Browse Source
Fix for cases with no proxy configured.
pull/579/head
CarlosEDP
10 years ago
parent
9a20d3b56a
commit
46ca2bb6b0
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
bootstrap
+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
)
)
,
Write
Preview
Loading…
Cancel
Save