Check formula options properly to rule out bottle.
Fixes Homebrew/homebrew#14148.
This commit is contained in:
parent
d5b954ebd4
commit
82d1310800
@ -12,7 +12,7 @@ def install_bottle? f
|
||||
return true if ARGV.include? '--install-bottle'
|
||||
not ARGV.build_from_source? \
|
||||
and ARGV.bottles_supported? \
|
||||
and ARGV.options_only.empty? \
|
||||
and ARGV.used_options(f).empty? \
|
||||
and bottle_current?(f)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user