Commit e733b78c authored by Samuel E. Giddins's avatar Samuel E. Giddins

[PodSourceInstaller] Only store checkout source if different from the root_spec source

parent 047d7707
......@@ -76,7 +76,7 @@ module Pod
def download_source
download_result = Downloader.download(root_spec, root, :released => released?, :head => head_pod?)
if @specific_source = download_result.checkout_options
if (@specific_source = download_result.checkout_options) && specific_source != root_spec.source
sandbox.store_checkout_source(root_spec.name, specific_source)
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