Commit c8dcdb30 authored by Samuel Giddins's avatar Samuel Giddins

[TargetInstaller] Ensure the aprent directory for all written files exists

parent 64a8b1ee
......@@ -106,6 +106,7 @@ module Pod
# @return [Void]
#
def update_changed_file(generator, path)
path.dirname.mkpath
if path.exist?
generator.save_as(support_files_temp_dir)
unless FileUtils.identical?(support_files_temp_dir, 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