Add suffix for bottles to avoid cache confusion.

This commit is contained in:
Mike McQuaid 2010-12-01 23:07:26 +00:00
parent 780750e0b7
commit 1efd33cac0

View File

@ -10,7 +10,7 @@ ARGV.each do|formula|
# Get the latest version
version = `brew list --versions #{formula}`.split.last
source = HOMEBREW_CELLAR + formula + version
filename = formula + '-' + version + '.tar.gz'
filename = formula + '-' + version + '-bottle.tar.gz'
ohai "Bottling #{formula} #{version}..."
HOMEBREW_CELLAR.cd do
# Use gzip, faster to compress than bzip2, faster to uncompress than bzip2