1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix a typo [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2018-11-05 06:02:42 +00:00
parent fc8bda6ff7
commit c8cbae685f

View file

@ -149,7 +149,7 @@ module MJITHeader
def self.write(code, out)
# create with strict permission, then will install proper
# permmsion
# permission
FileUtils.mkdir_p(File.dirname(out), mode: 0700)
File.binwrite("#{out}.new", code, perm: 0600)
FileUtils.mv("#{out}.new", out)