aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/tab.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/tab.rb')
-rw-r--r--Library/Homebrew/tab.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb
index ea619d57c..96639fb20 100644
--- a/Library/Homebrew/tab.rb
+++ b/Library/Homebrew/tab.rb
@@ -121,6 +121,10 @@ class Tab < OpenStruct
CxxStdlib.create(lib, cc.to_sym)
end
+ def build_bottle?
+ built_as_bottle && !poured_from_bottle
+ end
+
def to_json
Utils::JSON.dump({
:used_options => used_options.as_flags,