Ignore any version of Go, when it is a dependency of a bottle
This commit is contained in:
parent
32fa773cf8
commit
22d88821c3
@ -284,8 +284,8 @@ module Homebrew
|
||||
end
|
||||
|
||||
ignores = []
|
||||
if f.deps.any? { |dep| dep.name == "go" }
|
||||
ignores << %r{#{Regexp.escape(HOMEBREW_CELLAR)}/go/[\d\.]+/libexec}
|
||||
if f.deps.any? { |dep| dep.name =~ /^go(@[\d\.]+)?$/ }
|
||||
ignores << %r{#{Regexp.escape(HOMEBREW_CELLAR)}/go(@[\d\.]+)?/[\d\.]+/libexec}
|
||||
end
|
||||
|
||||
relocatable = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user