dev-cmd/unbottled: ignore versioned macos when checking linux
This commit is contained in:
parent
db723f5dd7
commit
a1921b8141
@ -169,7 +169,7 @@ module Homebrew
|
|||||||
|
|
||||||
requirements = f.recursive_requirements
|
requirements = f.recursive_requirements
|
||||||
if @bottle_tag.linux?
|
if @bottle_tag.linux?
|
||||||
if requirements.any?(MacOSRequirement)
|
if requirements.any? { |r| r.is_a?(MacOSRequirement) && !r.version }
|
||||||
puts "#{Tty.bold}#{Tty.red}#{name}#{Tty.reset}: requires macOS" if any_named_args
|
puts "#{Tty.bold}#{Tty.red}#{name}#{Tty.reset}: requires macOS" if any_named_args
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user