Commit 0597bf77 authored by Eloy Durán's avatar Eloy Durán

Merge pull request #396 from l4u/quote

Change git clone command to use double quotes instead of single quotes
parents 115ce84f 07773d24
......@@ -134,7 +134,7 @@ module Pod
end
def clone(from, to)
git "clone '#{from}' '#{to}'"
git "clone \"#{from}\" \"#{to}\""
end
end
......
......@@ -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