aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/patch.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-18 14:24:07 -0500
committerJack Nagel2014-03-18 14:24:32 -0500
commit7af46a5ed0723f2860e34435581c495c55973966 (patch)
treecfd7a29145a29c1a58206df2bdbf28091cdccaa1 /Library/Homebrew/patch.rb
parent8dcadc54d271cc2b71e4993bb7499e87460f38a9 (diff)
downloadbrew-7af46a5ed0723f2860e34435581c495c55973966.tar.bz2
Always use CurlDownloadStrategy for legacy patches
Fixes Homebrew/homebrew#27671.
Diffstat (limited to 'Library/Homebrew/patch.rb')
-rw-r--r--Library/Homebrew/patch.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb
index dbb2da843..28d2946b2 100644
--- a/Library/Homebrew/patch.rb
+++ b/Library/Homebrew/patch.rb
@@ -136,6 +136,7 @@ class LegacyPatch < ExternalPatch
def initialize(strip, url)
super(strip)
resource.url = url
+ resource.download_strategy = CurlDownloadStrategy
end
def owner= owner