diff options
| author | Xu Cheng | 2015-07-03 22:59:30 +0800 | 
|---|---|---|
| committer | Xu Cheng | 2015-07-06 18:05:00 +0800 | 
| commit | ab9a62370fc024b344a72306b92aa981c40a3467 (patch) | |
| tree | 8ed855005a1bebd055ec07262ddb87839927ba9b /Library/Homebrew/software_spec.rb | |
| parent | 4443a875243cabb0afaa862c846816b9e50fe60c (diff) | |
| download | brew-ab9a62370fc024b344a72306b92aa981c40a3467.tar.bz2 | |
support downloading bottles through 3rd-party mirror
Closes Homebrew/homebrew#41328.
Closes Homebrew/homebrew#41332.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Homebrew/software_spec.rb')
| -rw-r--r-- | Library/Homebrew/software_spec.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb index 9ace95e21..b30f489d2 100644 --- a/Library/Homebrew/software_spec.rb +++ b/Library/Homebrew/software_spec.rb @@ -259,7 +259,7 @@ end  class BottleSpecification    DEFAULT_PREFIX = "/usr/local".freeze    DEFAULT_CELLAR = "/usr/local/Cellar".freeze -  DEFAULT_DOMAIN = "https://homebrew.bintray.com".freeze +  DEFAULT_DOMAIN = (ENV["HOMEBREW_BOTTLE_DOMAIN"] || "https://homebrew.bintray.com").freeze    attr_rw :prefix, :cellar, :revision    attr_accessor :tap | 
