diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index 66f320e0d85f8b..1ac51b0dba1467 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -583,10 +583,10 @@ class << @changesets 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)