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