[前][次][番号順一覧][スレッド一覧]

ruby-changes:42660

From: nagachika <ko1@a...>
Date: Sun, 24 Apr 2016 02:08:49 +0900 (JST)
Subject: [ruby-changes:42660] nagachika:r54734 (trunk): * tool/merger.rb: use FileUtile.rm_f to fix an error on missing temporary file.

nagachika	2016-04-24 03:05:26 +0900 (Sun, 24 Apr 2016)

  New Revision: 54734

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54734

  Log:
    * tool/merger.rb: use FileUtile.rm_f to fix an error on missing temporary file.

  Modified files:
    trunk/tool/merger.rb
Index: tool/merger.rb
===================================================================
--- tool/merger.rb	(revision 54733)
+++ tool/merger.rb	(revision 54734)
@@ -170,7 +170,7 @@ else https://github.com/ruby/ruby/blob/trunk/tool/merger.rb#L170
   system 'svn up'
   system 'ruby tool/file2lastrev.rb --revision.h . > revision.tmp'
   system 'tool/ifchange "--timestamp=.revision.time" "revision.h" "revision.tmp"'
-  FileUtils.rm('revision.tmp')
+  FileUtils.rm_f('revision.tmp')
 
   case ARGV[0]
   when /--ticket=(.*)/

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]