[前][次][番号順一覧][スレッド一覧]

ruby-changes:35647

From: nobu <ko1@a...>
Date: Mon, 29 Sep 2014 00:26:29 +0900 (JST)
Subject: [ruby-changes:35647] nobu:r47729 (trunk): downloader.rb: compatibility with old BASERUBY

nobu	2014-09-29 00:26:21 +0900 (Mon, 29 Sep 2014)

  New Revision: 47729

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47729

  Log:
    downloader.rb: compatibility with old BASERUBY
    
    * tool/downloader.rb (Downloader.download): get rid of post
      arguments for compatibility with old BASERUBY.

  Modified files:
    trunk/tool/downloader.rb
Index: tool/downloader.rb
===================================================================
--- tool/downloader.rb	(revision 47728)
+++ tool/downloader.rb	(revision 47729)
@@ -119,6 +119,6 @@ if $0 == __FILE__ https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L119
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]