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 | 6fb6b9c226e0ffefa3d283f4af6196b687183111 (patch) | |
| tree | 35e94139e0ab2c0814cbc80555673582679e22be /Library | |
| parent | 24f1326f3a64e556e748e461047923ef86c6eb6d (diff) | |
| download | homebrew-6fb6b9c226e0ffefa3d283f4af6196b687183111.tar.bz2 | |
Bottles: fix bottle_filename revision
Fixes #24981.
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 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 |
