From 1efd33cac090936616e9873ae58ae540d0581517 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 1 Dec 2010 23:07:26 +0000 Subject: Add suffix for bottles to avoid cache confusion. --- Library/Contributions/examples/brew-bottle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Contributions/examples/brew-bottle.rb b/Library/Contributions/examples/brew-bottle.rb index 4534a0872..5877fbf18 100755 --- a/Library/Contributions/examples/brew-bottle.rb +++ b/Library/Contributions/examples/brew-bottle.rb @@ -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 -- cgit v1.2.3