diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-23 11:56:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-23 11:56:30 +0000 |
commit | 0b5227b8bd47211575e8239a2d2763dd3db3a979 (patch) | |
tree | 0a566c1fd1131619cba3b228ec201dc196c645b1 /tool/get-config_files | |
parent | c7cdc549fffc9ef6a2ef77841dc500d6ef2d087d (diff) | |
download | ruby-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-x | tool/get-config_files | 3 |
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 |