Unverified Commit 73c5d9b0 authored by Dimitris Koutsogiorgas's avatar Dimitris Koutsogiorgas Committed by Samuel Giddins

Merge pull request #7651 from dnkoutso/more_system_removal

Do not force `[system]` value for custom module maps

(cherry picked from commit 644280b5)

# Conflicts:
#	spec/cocoapods-integration-specs
parent 08090c85
......@@ -594,7 +594,7 @@ module Pod
UI.message "- Copying module map file to #{UI.path(path)}" do
contents = custom_module_map.read
unless target.requires_frameworks?
contents.gsub!(/^(\s*)framework\s+(module[^{}]+){/, '\1\2[system] {')
contents.gsub!(/^(\s*)framework\s+(module[^{}]+){/, '\1\2{')
end
generator = Generator::Constant.new(contents)
update_changed_file(generator, path)
......
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