From 18b8681a7c6af6f428eefe28676f86fc4f898075 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 9 Dec 2014 20:45:14 -0500 Subject: [PATCH] Pull strategy for downloading from research.att.com into core --- Library/Homebrew/download_strategy.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index be9f7187f9..24128f6b29 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -415,6 +415,13 @@ class S3DownloadStrategy < CurlDownloadStrategy end end +class AttResearchDownloadStrategy < CurlDownloadStrategy + def curl(*args) + args << "--user" << "I accept www.opensource.org/licenses/eclipse:." + super + end +end + class SubversionDownloadStrategy < VCSDownloadStrategy def initialize(name, resource) super