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 | c20270cb9f334bb3a043abb07a4c27f38464bf34 (patch) | |
| tree | 9fc451bbe70787f4a53550242cfbca4fe40a1c7d /Library | |
| parent | 6fb6b9c226e0ffefa3d283f4af6196b687183111 (diff) | |
| download | homebrew-c20270cb9f334bb3a043abb07a4c27f38464bf34.tar.bz2 | |
bottle_filename: remove unused revision default
Diffstat (limited to 'Library')
| -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 |
