aboutsummaryrefslogtreecommitdiffstats
path: root/tool/make-snapshot
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/make-snapshot
parent63e8293147fcaf2d107175bd7013dca7d81fbcb9 (diff)
downloadruby-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/make-snapshot')
-rwxr-xr-xtool/make-snapshot3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 17be5eaed2..a4f0dadb37 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -222,7 +222,8 @@ def package(rev, destdir)
rescue LoadError
abort "Error!!! Copy 'downloader.rb' from 'tool' directory of the recent ruby repository!"
end
- Downloader.download(conf, "tool")
+ url = "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=%s;hb=HEAD" % conf
+ Downloader.download(url, conf, "tool")
end
File.open(clean.add("cross.rb"), "w") do |f|
f.puts "Object.__send__(:remove_const, :CROSS_COMPILING) if defined?(CROSS_COMPILING)"