Readded check for http_proxy variable in svn servers.erb template
Apparenly file templates are parsed even when ensure => false.
This commit is contained in:
parent
3071640518
commit
748d5d4802
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,9 @@
|
|||
<%
|
||||
http_proxy_host, http_proxy_port = http_proxy.split(":")
|
||||
http_proxy_port = "80" if http_proxy_port.nil?
|
||||
if has_variable?("http_proxy")
|
||||
http_proxy_host, http_proxy_port = http_proxy.split(":")
|
||||
http_proxy_port = "80" if http_proxy_port.nil?
|
||||
-%>
|
||||
[global]
|
||||
http-proxy-host = <%= http_proxy_host %>
|
||||
http-proxy-port = <%= http_proxy_port %>
|
||||
<% end -%>
|
||||
|
|
Loading…
Add table
Reference in a new issue