aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/tab.rb
diff options
context:
space:
mode:
authorJack Nagel2014-10-15 00:52:57 -0500
committerJack Nagel2014-10-15 01:30:56 -0500
commit7266ecd4e3799006d0482708a3331bfac4e1e0d1 (patch)
tree4caa87567e4fe27736e1314bd5188ef76b8b2185 /Library/Homebrew/tab.rb
parentb05351d0b2ded45824046d0d7b823e5149f59467 (diff)
downloadbrew-7266ecd4e3799006d0482708a3331bfac4e1e0d1.tar.bz2
Hide install receipt key names
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,