Commit 07773d24 authored by l4u's avatar l4u

Change double quotes to single quotes in paths for svn and hg downloader

parent 573cc3f4
......@@ -12,11 +12,11 @@ module Pod
end
def download_head
hg "clone '#{url}' '#{target_path}'"
hg "clone \"#{url}\" \"#{target_path}\""
end
def download_revision
hg "clone '#{url}' --rev '#{options[:revision]}' '#{target_path}'"
hg "clone \"#{url}\" --rev '#{options[:revision]}' \"#{target_path}\""
end
end
end
......
......@@ -12,11 +12,11 @@ module Pod
end
def download_head
svn "checkout '#{url}' '#{target_path}'"
svn "checkout \"#{url}\" \"#{target_path}\""
end
def download_revision
svn "checkout '#{url}' -r '#{options[:revision]}' '#{target_path}'"
svn "checkout \"#{url}\" -r '#{options[:revision]}' \"#{target_path}\""
end
end
end
......
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