Skip to content

Commit

Permalink
Change double quotes to single quotes in paths for svn and hg downloader
Browse files Browse the repository at this point in the history
  • Loading branch information
l4u committed Jul 13, 2012
1 parent 573cc3f commit 07773d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/cocoapods/downloader/mercurial.rb
Expand Up @@ -12,11 +12,11 @@ def download
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
Expand Down
4 changes: 2 additions & 2 deletions lib/cocoapods/downloader/subversion.rb
Expand Up @@ -12,11 +12,11 @@ def download
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
Expand Down

0 comments on commit 07773d2

Please sign in to comment.