aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2010-12-01 23:05:56 +0000
committerMike McQuaid2010-12-01 23:08:12 +0000
commit09b2abe05d80a64c854ce8bbae75f54ddf01dd0b (patch)
treec9ec3a695b4af35b4a8410ddcbdc2bfea3d30f1b
parenta5e0e0d700a1f6d05e82dbcd3ec1639c2e999e99 (diff)
downloadhomebrew-09b2abe05d80a64c854ce8bbae75f54ddf01dd0b.tar.bz2
Improve reasoning in brew bottle for using gzip.
-rwxr-xr-xLibrary/Contributions/examples/brew-bottle.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Contributions/examples/brew-bottle.rb b/Library/Contributions/examples/brew-bottle.rb
index 881a35e58..4534a0872 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}"