diff options
| author | Jack Nagel | 2014-12-09 20:45:14 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-09 21:18:01 -0500 |
| commit | 18b8681a7c6af6f428eefe28676f86fc4f898075 (patch) | |
| tree | 28e578eb08f42de6ab9e747c692b95894f4169f1 /Library | |
| parent | 1dc4fbdb0bcff52b0ba70f267cf5adc49d7c834e (diff) | |
| download | brew-18b8681a7c6af6f428eefe28676f86fc4f898075.tar.bz2 | |
Pull strategy for downloading from research.att.com into core
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 7 |
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 |
