diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-24 01:26:21 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-24 01:26:21 +0000 |
commit | 204a83f5f3a3167815a1439e7e6652a7eec934f2 (patch) | |
tree | 323739f619a410c87cc51e017fb390fa3285b845 /tool/get-config_files | |
parent | 63e8293147fcaf2d107175bd7013dca7d81fbcb9 (diff) | |
download | ruby-204a83f5f3a3167815a1439e7e6652a7eec934f2.tar.gz |
* 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-x | tool/get-config_files | 3 |
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 |