* tool/redmine-backporter.rb: the fullpath of merger.rb is too long to

copy&paste on Windows.  show shorter name instead on the platform.
  I'm sure that the user of this command on Windows is only me.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2016-04-22 06:07:19 +00:00
parent 696adbccd3
commit 219f68abfe
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Fri Apr 22 15:04:56 2016 NAKAMURA Usaku <usa@ruby-lang.org>
* tool/redmine-backporter.rb: the fullpath of merger.rb is too long to
copy&paste on Windows. show shorter name instead on the platform.
I'm sure that the user of this command on Windows is only me.
Fri Apr 22 14:52:04 2016 NAKAMURA Usaku <usa@ruby-lang.org>
* tool/merger.rb: remove temporary file.

View File

@ -300,7 +300,7 @@ def show_last_journal(http, uri)
end
def merger_path
File.expand_path('../merger.rb', __FILE__)
RUBY_PLATFORM =~ /mswin|mingw/ ? 'merger' : File.expand_path('../merger.rb', __FILE__)
end
def backport_command_string