Commit 9e8c7b56 authored by Fabio Pelosin's avatar Fabio Pelosin

[LocalSource] Tuning.

parent 7a80f78f
...@@ -518,7 +518,7 @@ module Pod ...@@ -518,7 +518,7 @@ module Pod
end end
def root def root
Pathname.new(@top_specification.defined_in_file).dirname @root ||= Pathname.new(@top_specification.source[:local]).expand_path
end end
def implode def implode
......
...@@ -390,11 +390,7 @@ module Pod ...@@ -390,11 +390,7 @@ module Pod
end end
def pod_destroot def pod_destroot
if local? config.project_pods_root + top_level_parent.name
local_path
else
config.project_pods_root + top_level_parent.name
end
end end
def self.pattern_list(patterns) def self.pattern_list(patterns)
......
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