Skip to content

Commit

Permalink
Merge pull request #13063 from cho-m/unbottled-linux-versioned-macos-req
Browse files Browse the repository at this point in the history
dev-cmd/unbottled: ignore versioned macos when checking linux
  • Loading branch information
MikeMcQuaid authored Mar 30, 2022
2 parents f86346e + a1921b8 commit 663c0a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/dev-cmd/unbottled.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def output_unbottled(formulae, deps_hash, noun, hash, any_named_args)

requirements = f.recursive_requirements
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
next
end
Expand Down

0 comments on commit 663c0a7

Please sign in to comment.