mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
204a83f5f3
It can be used without config.guess and configu.sub. * tool/get-config_files: ditto. * tool/make-snapshot: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
13 lines
352 B
Ruby
Executable file
13 lines
352 B
Ruby
Executable file
#!/usr/bin/ruby
|
|
require File.expand_path('../downloader', __FILE__)
|
|
ARGV.each {|n|
|
|
STDOUT.print "Downloading #{n}..."; STDOUT.flush
|
|
begin
|
|
url = "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=%s;hb=HEAD" % n
|
|
Downloader.download(url, n)
|
|
STDOUT.puts
|
|
rescue => e
|
|
STDOUT.puts
|
|
abort("#{$0}: #{e.message}")
|
|
end
|
|
}
|