diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index a45c8dcab..847fff072 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -108,6 +108,10 @@ module Homebrew extend self return ofail "Formula not installed with '--build-bottle': #{f.name}" end + unless f.stable + return ofail "Formula has no stable version: #{f.name}" + end + if ARGV.include? '--no-revision' bottle_revision = 0 else |
