aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-22 06:07:19 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-22 06:07:19 +0000
commitf74d0173f9a8893e29eb58a0c110a40223c62c69 (patch)
treec0f1e3b276571259015ba50f686633210bc300bf /tool
parent280a2a8763a05ef3de33a545178606f8c52c942f (diff)
downloadruby-f74d0173f9a8893e29eb58a0c110a40223c62c69.tar.gz
* 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
Diffstat (limited to 'tool')
-rwxr-xr-xtool/redmine-backporter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb
index 0806e63f24..01ec04225e 100755
--- a/tool/redmine-backporter.rb
+++ b/tool/redmine-backporter.rb
@@ -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