aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/resource.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-18 14:24:07 -0500
committerJack Nagel2014-03-18 14:24:32 -0500
commit7f74045261936a88ac13566f8baa9120da805ce9 (patch)
treedbd3cce1eedfa3208b384cb380d04ad810ab63d7 /Library/Homebrew/resource.rb
parent21f14da6935d78ac957d030eeda93a5c5976266f (diff)
downloadhomebrew-7f74045261936a88ac13566f8baa9120da805ce9.tar.bz2
Always use CurlDownloadStrategy for legacy patches
Fixes #27671.
Diffstat (limited to 'Library/Homebrew/resource.rb')
-rw-r--r--Library/Homebrew/resource.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/resource.rb b/Library/Homebrew/resource.rb
index a9380db88..4fabb33e3 100644
--- a/Library/Homebrew/resource.rb
+++ b/Library/Homebrew/resource.rb
@@ -9,7 +9,7 @@ class Resource
include FileUtils
attr_reader :checksum, :mirrors, :specs, :using
- attr_writer :url, :checksum, :version
+ attr_writer :url, :checksum, :version, :download_strategy
# Formula name must be set after the DSL, as we have no access to the
# formula name before initialization of the formula