Skip to content
Snippets Groups Projects
Commit 780750e0 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

Improve reasoning in brew bottle for using gzip.

parent 55aa2a29
No related branches found
No related tags found
No related merge requests found
......@@ -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}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment