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:
parent
fc8bda6ff7
commit
c8cbae685f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user