aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/bottles.rb
diff options
context:
space:
mode:
authorJack Nagel2013-01-23 00:26:20 -0600
committerJack Nagel2013-01-26 11:37:00 -0600
commitf3d3bc436829b5e9212e052cec50cded80cea2df (patch)
tree0d2ce31c56709e64a5ec66f03b8f061df34bbca2 /Library/Homebrew/bottles.rb
parentd8a83073ff69ea70f375238d810f833624823ea8 (diff)
downloadbrew-f3d3bc436829b5e9212e052cec50cded80cea2df.tar.bz2
Move option comparison into BuildOptions
Diffstat (limited to 'Library/Homebrew/bottles.rb')
-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 49d0f7539..cc239bffc 100644
--- a/Library/Homebrew/bottles.rb
+++ b/Library/Homebrew/bottles.rb
@@ -15,7 +15,7 @@ def install_bottle? f
and f.downloader.local_bottle_path
not ARGV.build_from_source? \
and MacOS.bottles_supported? \
- and ARGV.used_options(f).empty? \
+ and f.build.used_options.empty? \
and bottle_current?(f)
end