Commit 9c9e14b9 authored by Samuel E. Giddins's avatar Samuel E. Giddins

Merge pull request #3337 from dtorres/fix-aggregate-targe

Provide an actual path to save the script to
parents ee5e8fd4 e1ae08e3
...@@ -130,6 +130,7 @@ module Pod ...@@ -130,6 +130,7 @@ module Pod
# @return [void] # @return [void]
# #
def create_copy_resources_script def create_copy_resources_script
path = target.copy_resources_script_path
generator = Generator::CopyResourcesScript.new(resources_by_config, target.platform) generator = Generator::CopyResourcesScript.new(resources_by_config, target.platform)
generator.save_as(path) generator.save_as(path)
add_file_to_support_group(path) add_file_to_support_group(path)
......
...@@ -165,7 +165,7 @@ module Pod ...@@ -165,7 +165,7 @@ module Pod
end end
it 'uniques resources by config' do it 'uniques resources by config' do
a_path = Pathname.new(@project.path.dirname + "/duplicated/path.jpg") a_path = Pathname.new(@project.path.dirname + '/duplicated/path.jpg')
duplicated_paths = [a_path, a_path] duplicated_paths = [a_path, a_path]
@installer.target.pod_targets.each do |pod_target| @installer.target.pod_targets.each do |pod_target|
pod_target.file_accessors.each do |accessor| pod_target.file_accessors.each do |accessor|
......
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