From 82d1310800dc225e8c561fb07c76a1e85434fdd4 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 25 Aug 2012 11:51:37 -0700 Subject: [PATCH] Check formula options properly to rule out bottle. Fixes Homebrew/homebrew#14148. --- Library/Homebrew/bottles.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb index 6b8a4875a8..7d725ccb7c 100644 --- a/Library/Homebrew/bottles.rb +++ b/Library/Homebrew/bottles.rb @@ -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