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
|
end
|
||||||
|
|
||||||
ignores = []
|
ignores = []
|
||||||
if f.deps.any? { |dep| dep.name == "go" }
|
if f.deps.any? { |dep| dep.name =~ /^go(@[\d\.]+)?$/ }
|
||||||
ignores << %r{#{Regexp.escape(HOMEBREW_CELLAR)}/go/[\d\.]+/libexec}
|
ignores << %r{#{Regexp.escape(HOMEBREW_CELLAR)}/go(@[\d\.]+)?/[\d\.]+/libexec}
|
||||||
end
|
end
|
||||||
|
|
||||||
relocatable = true
|
relocatable = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user