Added check for proxy variable correctness to svn module

This commit is contained in:
Ossi Salmi 2010-12-26 19:37:54 +02:00 committed by Timo Mkinen
parent 42579f652e
commit db32b3bee6

View file

@ -4,6 +4,8 @@ if has_variable?("http_proxy")
http_proxy_host, http_proxy_port = http_proxy.split(":")
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-port = <%= http_proxy_port %>
<% end -%>