aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-06 16:05:57 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-06 16:05:57 +0000
commitac543afc57654b5b5b6ef5611a2d5e99194ddc17 (patch)
treea004154a113b734538679492bf46ff49cbcb411a /tool
parente296f330cefc5eb7ff0889d73fc88c3e5b58bd86 (diff)
downloadruby-ac543afc57654b5b5b6ef5611a2d5e99194ddc17.tar.gz
* 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
Diffstat (limited to 'tool')
-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)