Added check for proxy variable correctness to svn module
This commit is contained in:
parent
42579f652e
commit
db32b3bee6
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ if has_variable?("http_proxy")
|
||||||
http_proxy_host, http_proxy_port = http_proxy.split(":")
|
http_proxy_host, http_proxy_port = http_proxy.split(":")
|
||||||
http_proxy_port = "80" if http_proxy_port.nil?
|
http_proxy_port = "80" if http_proxy_port.nil?
|
||||||
-%>
|
-%>
|
||||||
|
<% end -%>
|
||||||
|
<% if http_proxy_host and http_proxy_port -%>
|
||||||
http-proxy-host = <%= http_proxy_host %>
|
http-proxy-host = <%= http_proxy_host %>
|
||||||
http-proxy-port = <%= http_proxy_port %>
|
http-proxy-port = <%= http_proxy_port %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
Loading…
Add table
Reference in a new issue