summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtool/redmine-backporter.rb4
1 files changed, 2 insertions, 2 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
+ 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)