diff options
| author | Misty De Meo | 2013-12-05 23:08:04 -0800 |
|---|---|---|
| committer | Misty De Meo | 2013-12-05 23:08:04 -0800 |
| commit | 492ce9cc5e98ef9fa330abb93f4082cdb4d034bf (patch) | |
| tree | ba4259b3203e92625afcd47c6d33d5acfbfb492e | |
| parent | 2c175a9d7dcee9b05e0c054366f23249ae9acd4f (diff) | |
| download | brew-492ce9cc5e98ef9fa330abb93f4082cdb4d034bf.tar.bz2 | |
bottle_filename: remove unused revision default
| -rw-r--r-- | Library/Homebrew/bottles.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb index e5f90cb77..3838d4a50 100644 --- a/Library/Homebrew/bottles.rb +++ b/Library/Homebrew/bottles.rb @@ -3,7 +3,7 @@ require 'os/mac' require 'extend/ARGV' require 'bottle_version' -def bottle_filename f, options={:tag=>bottle_tag, :bottle_revision=>nil} +def bottle_filename f, options={:tag=>bottle_tag} name = f.name.downcase version = f.stable.version options[:revision] ||= f.bottle.revision.to_i if f.bottle |
