Commit caa30a8c authored by Fabio Pelosin's avatar Fabio Pelosin

[CopyResourcesScript] Restore compatiblity with Ruby 1.8.7

parent 274c917f
......@@ -2,8 +2,6 @@ module Pod
module Generator
class CopyResourcesScript
require 'fileutils'
# @return [Array<#to_s>] A list of files relative to the project pods
# root.
#
......@@ -33,7 +31,7 @@ module Pod
pathname.open('w') do |file|
file.puts(script)
end
FileUtils.chmod('+x', pathname.to_s)
File.chmod(755, pathname.to_s)
end
private
......
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