aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index 4c629cdbb..83f1147c5 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -149,6 +149,10 @@ module Homebrew
return ofail "Formula not installed or up-to-date: #{f.full_name}"
end
+ unless f.tap
+ return ofail "Formula not from core or any taps: #{f.full_name}"
+ end
+
if f.bottle_disabled?
ofail "Formula has disabled bottle: #{f.full_name}"
puts f.bottle_disable_reason