aboutsummaryrefslogtreecommitdiffstats
path: root/tool/get-config_files
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-23 11:56:30 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-23 11:56:30 +0000
commit0b5227b8bd47211575e8239a2d2763dd3db3a979 (patch)
tree0a566c1fd1131619cba3b228ec201dc196c645b1 /tool/get-config_files
parentc7cdc549fffc9ef6a2ef77841dc500d6ef2d087d (diff)
downloadruby-0b5227b8bd47211575e8239a2d2763dd3db3a979.tar.gz
downloader.rb: shorthands for usual URI
* tool/downloader.rb (Downloader.uri_to_download): add shorthands for commonly used URI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/get-config_files')
-rwxr-xr-xtool/get-config_files3
1 files changed, 1 insertions, 2 deletions
diff --git a/tool/get-config_files b/tool/get-config_files
index a3fb6dfaf8..113fee0966 100755
--- a/tool/get-config_files
+++ b/tool/get-config_files
@@ -3,8 +3,7 @@ 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)
+ Downloader.download(:gnu, n)
STDOUT.puts
rescue => e
STDOUT.puts