diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/patch.rb | 1 | ||||
| -rw-r--r-- | Library/Homebrew/resource.rb | 2 |
2 files changed, 2 insertions, 1 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 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 |
