Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #63 from coverall/fix/s3-endpoint
Browse files Browse the repository at this point in the history
Fix S3 endpoint
  • Loading branch information
dgoodlad committed Oct 28, 2014
2 parents f205555 + e338847 commit 7cd080c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/boxen-bottle-hooks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7cd080c

Please sign in to comment.