summaryrefslogtreecommitdiff
path: root/tool/downloader.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-05-29 17:58:18 -0700
committerJeremy Evans <code@jeremyevans.net>2019-05-29 18:03:21 -0700
commitd2ba80b5df7118383cbcfae934316310c6d81633 (patch)
tree777b55b5ca4b6748d8fca28abda467643b9aa621 /tool/downloader.rb
parent5867e51e8311d1ed49457e946751cd0c06a306b8 (diff)
Revert "Fix building with 1.8 BASERUBY"
This reverts commit 05bc14d81a1d7f6af826a92371aeff0c3fb2a67e. We have decided that the cost of reintroducing support for 1.8 BASERUBY outweighs the benefit. If you are still using 1.8 and want to build master/trunk, build and install the latest release, and use that as BASERUBY.
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 2436a4dae7..f42f9a0ef1 100644
--- a/tool/downloader.rb
+++ b/tool/downloader.rb
@@ -173,7 +173,7 @@ class Downloader
if cache_save
save_cache(cache, file, name)
end
- return file.respond_to?(:to_path) ? file.to_path : file.to_s
+ return file.to_path
end
if dryrun
puts "Download #{url} into #{file}"