diff options
| author | Mike McQuaid | 2013-09-23 18:23:23 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-09-23 18:23:23 +0100 |
| commit | b20335b314f45d25e9c9f96a20575d7336cef1cb (patch) | |
| tree | cc2400864fcf3200cd85ce28ef7600604aed0a04 /Library | |
| parent | fd49e498fac9d048b99165fb4854be396e1067dc (diff) | |
| download | brew-b20335b314f45d25e9c9f96a20575d7336cef1cb.tar.bz2 | |
bottle: add option to force no bottle revision.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 9b45e3b6d..607c4802a 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -64,7 +64,8 @@ module Homebrew extend self begin bottle_revision += 1 filename = bottle_filename(f, bottle_revision) - end while master_bottle_filenames.include? filename + end while not ARGV.include? '--no-revision' \ + and master_bottle_filenames.include? filename if bottle_filename_formula_name(filename).empty? return ofail "Add a new regex to bottle_version.rb to parse the bottle filename." |
