aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-22 05:52:30 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-22 05:52:30 +0000
commit280a2a8763a05ef3de33a545178606f8c52c942f (patch)
tree290c6ea700370e7e663ec6a6681fdf17c8caeb69 /tool
parentc66d411bd8956661bf1f5edf42f4df68a1727b24 (diff)
downloadruby-280a2a8763a05ef3de33a545178606f8c52c942f.tar.gz
* tool/merger.rb: remove temporary file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/merger.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/merger.rb b/tool/merger.rb
index c7d8e0f0ad..07ac6e6304 100755
--- a/tool/merger.rb
+++ b/tool/merger.rb
@@ -5,6 +5,7 @@ exec "${RUBY-ruby}" "-x" "$0" "$@" && [ ] if false
# This needs ruby 1.9 and subversion.
# run this in a repository to commit.
+require 'fileutils'
require 'tempfile'
$repos = 'svn+ssh://svn@ci.ruby-lang.org/ruby/'
@@ -169,6 +170,7 @@ else
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')
case ARGV[0]
when /--ticket=(.*)/