diff options
| author | Mike McQuaid | 2014-02-15 11:28:48 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-02-15 11:28:48 +0000 |
| commit | 73194f224a588ca2ed6b4136026c1c581b6bb8d0 (patch) | |
| tree | 269b5919526619d79b240765410f1479d209371a /Library | |
| parent | 715d7bc6b97ae0ee1968ff05dadc5e472e1b3e8b (diff) | |
| download | homebrew-73194f224a588ca2ed6b4136026c1c581b6bb8d0.tar.bz2 | |
bottle: fail if there is no stable version.
Closes #26742.
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 |
