summaryrefslogtreecommitdiff
path: root/tool/downloader.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-24 05:41:20 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-24 05:41:20 +0000
commit4c58cdc9a1a7296b6202f8ad4cf2b72581c61d6d (patch)
treee2715e7fb26c0d0f2b5550d3dc016e096f3212e0 /tool/downloader.rb
parenta054854324e88f2282d7440fae758d6aa7a42597 (diff)
* tool/downloader.rb: fix wrong variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/downloader.rb')
-rw-r--r--tool/downloader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb
index 5d5efe5..03d26ea 100644
--- a/tool/downloader.rb
+++ b/tool/downloader.rb
@@ -6,6 +6,6 @@ class Downloader
file = dir ? File.join(dir, name) : name
open(file, "wb", 0755) {|f| f.write(data)}
rescue => e
- raise "failed to download #{name}\n#{e.message}: #{uri}"
+ raise "failed to download #{name}\n#{e.message}: #{url}"
end
end