aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-12-09 20:45:14 -0500
committerJack Nagel2014-12-09 21:18:01 -0500
commitb53223a45cef4d7dad7c2ebae7988fe4001b0579 (patch)
tree465d254b0c71fbd8a95922dbcfb66d1fa0f0347c /Library/Homebrew
parentbaa1954c33088dc7dce524dcef496d94e3f2398d (diff)
downloadhomebrew-b53223a45cef4d7dad7c2ebae7988fe4001b0579.tar.bz2
Pull strategy for downloading from research.att.com into core
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/download_strategy.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index be9f7187f..24128f6b2 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