aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/software_spec.rb
diff options
context:
space:
mode:
authorMike McQuaid2015-02-19 12:47:41 +0000
committerMike McQuaid2015-02-19 12:58:53 +0000
commit635681401e780135206624bbd54a40934ab5d451 (patch)
treeba5468eb8e069ce2d2108b4cd82ecf2d40b6d4b3 /Library/Homebrew/software_spec.rb
parent00e6bc98bdbfd5d3a5392dadd11f04b063b2b75f (diff)
downloadbrew-635681401e780135206624bbd54a40934ab5d451.tar.bz2
software_spec: use homebrew Bintray subdomain.
Also: split into two variables so they can be used for taps.
Diffstat (limited to 'Library/Homebrew/software_spec.rb')
-rw-r--r--Library/Homebrew/software_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb
index f0e0c3493..a0e3ab7a9 100644
--- a/Library/Homebrew/software_spec.rb
+++ b/Library/Homebrew/software_spec.rb
@@ -252,7 +252,8 @@ class BottleSpecification
DEFAULT_PREFIX = "/usr/local".freeze
DEFAULT_CELLAR = "/usr/local/Cellar".freeze
if ENV["HOMEBREW_BINTRAY_TESTING"]
- DEFAULT_ROOT_URL = "https://bintray.com/artifact/download/homebrew/bottles".freeze
+ DEFAULT_DOMAIN = "https://homebrew.bintray.com".freeze
+ DEFAULT_ROOT_URL = "#{DEFAULT_DOMAIN}/bottles".freeze
else
DEFAULT_ROOT_URL = "https://downloads.sf.net/project/machomebrew/Bottles".freeze
end