1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2014-09-28 15:26:21 +00:00
parent f49404212c
commit ae7eb5fe83

View file

@ -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