summaryrefslogtreecommitdiff
path: root/tool/downloader.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-28 15:26:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-28 15:26:21 +0000
commitae7eb5fe83f8cc4723b11724447f3cda6c0c03f2 (patch)
tree724f54fb75550f67d6a4979994df694b0a9fd0e1 /tool/downloader.rb
parentf49404212cfa382663803674fc16010a81f42ee7 (diff)
downloader.rb: compatibility with old BASERUBY
* tool/downloader.rb (Downloader.download): get rid of post arguments for compatibility with old BASERUBY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/downloader.rb')
-rw-r--r--tool/downloader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb
index b1c1449..7f5bdbe 100644
--- a/tool/downloader.rb
+++ b/tool/downloader.rb
@@ -119,6 +119,6 @@ if $0 == __FILE__
end
else
abort "usage: #{$0} url name" unless ARGV.size == 2
- Downloader.download(*ARGV, destdir, ims)
+ Downloader.download(ARGV[0], ARGV[1], destdir, ims)
end
end