From 020bd9f48714533dd14016d8cb63a419484e1391 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 6 Jul 2016 16:05:57 +0000 Subject: [PATCH] * tool/redmine-backporter.rb: fixed command alias bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/redmine-backporter.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index 66f320e0d8..1ac51b0dba 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -583,10 +583,10 @@ while true args = cmd cmd = "show" end - if commands[cmd].is_a? String - cmd = list[cmd] - end cmd = list[cmd] + if commands[cmd].is_a? String + cmd = list[commands[cmd]] + end begin if cmd commands[cmd].call(args)