From 780750e0b7cacc9ba552addc3d31138c539e70ec Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 1 Dec 2010 23:05:56 +0000 Subject: [PATCH] Improve reasoning in brew bottle for using gzip. --- Library/Contributions/examples/brew-bottle.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Contributions/examples/brew-bottle.rb b/Library/Contributions/examples/brew-bottle.rb index 881a35e582..4534a08727 100755 --- a/Library/Contributions/examples/brew-bottle.rb +++ b/Library/Contributions/examples/brew-bottle.rb @@ -13,8 +13,8 @@ ARGV.each do|formula| filename = formula + '-' + version + '.tar.gz' ohai "Bottling #{formula} #{version}..." HOMEBREW_CELLAR.cd do - # Use gzip, much faster than bzip2 and hardly any file size difference - # when compressing binaries. + # Use gzip, faster to compress than bzip2, faster to uncompress than bzip2 + # or an uncompressed tarball (and more bandwidth friendly). safe_system 'tar', 'czf', "#{destination}/#{filename}", "#{formula}/#{version}" end ohai "Bottled #{filename}"