From f9268c81fe1df804055d8d03fad410d8bb3a4c71 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 25 Aug 2012 11:51:37 -0700 Subject: Check formula options properly to rule out bottle. Fixes #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 6b8a4875a..7d725ccb7 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 -- cgit v1.2.3