1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
* enc/unicode/case-folding.rb: touch the destination file.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-06-24 00:23:46 +00:00
parent 417a000d1d
commit eff6873363

View file

@ -370,7 +370,9 @@ if $0 == __FILE__
rescue Errno::ENOENT => e rescue Errno::ENOENT => e
raise unless /gperf/ =~ e.message raise unless /gperf/ =~ e.message
warn e.message warn e.message
exit dest && File.file?(dest) # assume existing file is OK abort unless dest
File.utime(nil, nil, dest) # assume existing file is OK
exit
else else
s = f.string s = f.string
end end