Commit 1c0d6de2 authored by Lasse Bang Mikkelsen's avatar Lasse Bang Mikkelsen

Forced non-interactive and trust server certificate

parent d837907d
......@@ -9,16 +9,20 @@ module Pod
def download
UI.section(' > Exporting subversion repo', '', 3) do
svn! %|export "#{reference_url}" "#{target_path}"|
svn! %|#{export_subcommand} "#{reference_url}" "#{target_path}"|
end
end
def download_head
UI.section(' > Exporting subversion repo', '', 3) do
svn! %|export "#{trunk_url}" "#{target_path}"|
svn! %|#{export_subcommand} "#{trunk_url}" "#{target_path}"|
end
end
def export_subcommand
result = 'export --non-interactive --trust-server-cert'
end
def reference_url
result = url.dup
result << '/' << options[:folder] if options[:folder]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment