diff options
| author | Mike McQuaid | 2012-04-04 15:43:29 +1000 |
|---|---|---|
| committer | Mike McQuaid | 2012-04-04 15:44:51 +1000 |
| commit | 6010763159e2005069328b864ae6daf55b3cb288 (patch) | |
| tree | 809581c6897c443aa748543784a794bf5037677d /Library | |
| parent | c2ca1773c5d13222ed3b6f82ac70496f5073a5d1 (diff) | |
| download | brew-6010763159e2005069328b864ae6daf55b3cb288.tar.bz2 | |
Use current bottle versions to calculate new ones.
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 4f6841934..57607e0f7 100644 --- a/Library/Homebrew/bottles.rb +++ b/Library/Homebrew/bottles.rb @@ -26,7 +26,7 @@ def bottle_current? f end def bottle_new_version f - return 0 unless f.bottle_version + return 0 unless bottle_current? f f.bottle_version + 1 end |
