diff options
| author | Misty De Meo | 2013-12-05 23:06:50 -0800 |
|---|---|---|
| committer | Misty De Meo | 2013-12-05 23:06:50 -0800 |
| commit | 2c175a9d7dcee9b05e0c054366f23249ae9acd4f (patch) | |
| tree | dcf5dc79645e65f46b40e400dc75373ef7da1a41 | |
| parent | 5252c35f342d213cb539b9690f79d9b8f2a9c338 (diff) | |
| download | brew-2c175a9d7dcee9b05e0c054366f23249ae9acd4f.tar.bz2 | |
Bottles: fix bottle_filename revision
Fixes Homebrew/homebrew#24981.
| -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 0ea0e9c65..e5f90cb77 100644 --- a/Library/Homebrew/bottles.rb +++ b/Library/Homebrew/bottles.rb @@ -6,7 +6,7 @@ require 'bottle_version' def bottle_filename f, options={:tag=>bottle_tag, :bottle_revision=>nil} name = f.name.downcase version = f.stable.version - bottle_revision ||= f.bottle.revision.to_i if f.bottle + options[:revision] ||= f.bottle.revision.to_i if f.bottle "#{name}-#{version}#{bottle_native_suffix(options)}" end |
