Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
0597bf77
Commit
0597bf77
authored
Jul 14, 2012
by
Eloy Durán
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #396 from l4u/quote
Change git clone command to use double quotes instead of single quotes
parents
115ce84f
07773d24
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
git.rb
lib/cocoapods/downloader/git.rb
+1
-1
mercurial.rb
lib/cocoapods/downloader/mercurial.rb
+2
-2
subversion.rb
lib/cocoapods/downloader/subversion.rb
+2
-2
No files found.
lib/cocoapods/downloader/git.rb
View file @
0597bf77
...
@@ -134,7 +134,7 @@ module Pod
...
@@ -134,7 +134,7 @@ module Pod
end
end
def
clone
(
from
,
to
)
def
clone
(
from
,
to
)
git
"clone
'
#{
from
}
' '
#{
to
}
'
"
git
"clone
\"
#{
from
}
\"
\"
#{
to
}
\"
"
end
end
end
end
...
...
lib/cocoapods/downloader/mercurial.rb
View file @
0597bf77
...
@@ -12,11 +12,11 @@ module Pod
...
@@ -12,11 +12,11 @@ module Pod
end
end
def
download_head
def
download_head
hg
"clone
'
#{
url
}
' '
#{
target_path
}
'
"
hg
"clone
\"
#{
url
}
\"
\"
#{
target_path
}
\"
"
end
end
def
download_revision
def
download_revision
hg
"clone
'
#{
url
}
' --rev '
#{
options
[
:revision
]
}
' '
#{
target_path
}
'
"
hg
"clone
\"
#{
url
}
\"
--rev '
#{
options
[
:revision
]
}
'
\"
#{
target_path
}
\"
"
end
end
end
end
end
end
...
...
lib/cocoapods/downloader/subversion.rb
View file @
0597bf77
...
@@ -12,11 +12,11 @@ module Pod
...
@@ -12,11 +12,11 @@ module Pod
end
end
def
download_head
def
download_head
svn
"checkout
'
#{
url
}
' '
#{
target_path
}
'
"
svn
"checkout
\"
#{
url
}
\"
\"
#{
target_path
}
\"
"
end
end
def
download_revision
def
download_revision
svn
"checkout
'
#{
url
}
' -r '
#{
options
[
:revision
]
}
' '
#{
target_path
}
'
"
svn
"checkout
\"
#{
url
}
\"
-r '
#{
options
[
:revision
]
}
'
\"
#{
target_path
}
\"
"
end
end
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment