* 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
This commit is contained in:
usa 2016-07-06 16:05:57 +00:00
parent 2529b3835f
commit 020bd9f487
1 changed files with 3 additions and 3 deletions

View File

@ -583,10 +583,10 @@ while true
args = cmd
cmd = "show"
end
cmd = list[cmd]
if commands[cmd].is_a? String
cmd = list[cmd]
cmd = list[commands[cmd]]
end
cmd = list[cmd]
begin
if cmd
commands[cmd].call(args)