From 635681401e780135206624bbd54a40934ab5d451 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 19 Feb 2015 12:47:41 +0000 Subject: [PATCH] software_spec: use homebrew Bintray subdomain. Also: split into two variables so they can be used for taps. --- Library/Homebrew/software_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb index f0e0c34932..a0e3ab7a9d 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