aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2012-08-25 11:51:37 -0700
committerMike McQuaid2012-08-25 11:52:37 -0700
commitf9268c81fe1df804055d8d03fad410d8bb3a4c71 (patch)
tree73ba7a1e551bc4611054e3757b8c6ef1fe0370b2 /Library
parent0d1c1491c4708371c6fbbbf6977593554ce00380 (diff)
downloadhomebrew-f9268c81fe1df804055d8d03fad410d8bb3a4c71.tar.bz2
Check formula options properly to rule out bottle.
Fixes #14148.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/bottles.rb2
1 files changed, 1 insertions, 1 deletions
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