aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2015-02-19 12:47:41 +0000
committerMike McQuaid2015-02-19 12:58:53 +0000
commit39871ed81a18bfb26b8d7f9b2aaad6824f1de3e0 (patch)
treed2e51fcd6e4f632d3286ab575d0e77e659408542
parentb22f25ac6f2e1c8dc6110eb33fe789cd133e40e5 (diff)
downloadhomebrew-39871ed81a18bfb26b8d7f9b2aaad6824f1de3e0.tar.bz2
software_spec: use homebrew Bintray subdomain.
Also: split into two variables so they can be used for taps.
-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