Commit 987e50b8 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[CopyResourcesScript] Don't check for config is resources is empty

parent 06a6b77c
......@@ -70,12 +70,14 @@ module Pod
def script
script = install_resources_function
resources_by_config.each do |config, resources|
unless resources.empty?
script += %(if [[ "$CONFIGURATION" == "#{config}" ]]; then\n)
resources.each do |resource|
script += " install_resource '#{resource}'\n"
end
script += "fi\n"
end
end
script += RSYNC_CALL
script += XCASSETS_COMPILE
script
......
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