mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
touch
* 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:
parent
417a000d1d
commit
eff6873363
1 changed files with 3 additions and 1 deletions
|
@ -370,7 +370,9 @@ if $0 == __FILE__
|
|||
rescue Errno::ENOENT => e
|
||||
raise unless /gperf/ =~ 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
|
||||
s = f.string
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue