Skip to content
Snippets Groups Projects
Unverified Commit e47a6ac4 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #6967 from sjackman/bottle-root-url

bottle: Elide root_url only if it is the default
parents 31aaf483 7f4c7e0a
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ require "erb"
BOTTLE_ERB = <<-EOS
bottle do
<% if !root_url.start_with?(HOMEBREW_BOTTLE_DEFAULT_DOMAIN) %>
<% if root_url != "#{HOMEBREW_BOTTLE_DEFAULT_DOMAIN}/bottles" %>
root_url "<%= root_url %>"
<% end %>
<% if ![HOMEBREW_DEFAULT_PREFIX, LINUXBREW_DEFAULT_PREFIX].include?(prefix) %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment