Skip to content

Commit

Permalink
Use current bottle versions to calculate new ones.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Apr 4, 2012
1 parent 1de89d6 commit 4864b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/bottles.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4864b1b

Please sign in to comment.