diff --git a/files/boxen-bottle-hooks.rb b/files/boxen-bottle-hooks.rb index df460e9..6d2240f 100644 --- a/files/boxen-bottle-hooks.rb +++ b/files/boxen-bottle-hooks.rb @@ -18,7 +18,7 @@ def self.url(formula) host = ENV['BOXEN_S3_HOST'] || 's3.amazonaws.com' bucket = ENV['BOXEN_S3_BUCKET'] || 'boxen-downloads' - "http://#{host}/#{bucket}/homebrew/#{os}/#{file}" + "http://#{bucket}.#{host}/homebrew/#{os}/#{file}" end def self.bottled?(formula)