1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* tool/downloader.rb: fix wrong variable name.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2014-06-24 05:41:20 +00:00
parent a054854324
commit 4c58cdc9a1

View file

@ -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