Commit d9dd80ec authored by Fabio Pelosin's avatar Fabio Pelosin

[Command::Spec] Fix specification paths

Closes https://github.com/CocoaPods/CocoaPods/issues/2154
parent f984fd19
...@@ -352,7 +352,7 @@ module Pod ...@@ -352,7 +352,7 @@ module Pod
# @return [Pathname] the absolute path of the given spec and source # @return [Pathname] the absolute path of the given spec and source
# #
def pathname_from_spec(spec, source) def pathname_from_spec(spec, source)
config.repos_dir + "#{source}/#{spec.name}/#{spec.version}/#{spec.name}.podspec" Pathname(spec.defined_in_file)
end end
# @return [String] of spec paths one on each line # @return [String] of spec paths one on each line
......
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