summaryrefslogtreecommitdiff
path: root/tool/get-config_files
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-24 01:26:21 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-24 01:26:21 +0000
commit204a83f5f3a3167815a1439e7e6652a7eec934f2 (patch)
tree323739f619a410c87cc51e017fb390fa3285b845 /tool/get-config_files
parent63e8293147fcaf2d107175bd7013dca7d81fbcb9 (diff)
* tool/downloader.rb: make Downloader class to general download utility.
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
Diffstat (limited to 'tool/get-config_files')
-rwxr-xr-xtool/get-config_files3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/get-config_files b/tool/get-config_files
index a849c2b1e3..a3fb6dfaf8 100755
--- a/tool/get-config_files
+++ b/tool/get-config_files
@@ -3,7 +3,8 @@ require File.expand_path('../downloader', __FILE__)
ARGV.each {|n|
STDOUT.print "Downloading #{n}..."; STDOUT.flush
begin
- Downloader.download(n)
+ 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