Improve reasoning in brew bottle for using gzip.
This commit is contained in:
parent
55aa2a296b
commit
780750e0b7
@ -13,8 +13,8 @@ ARGV.each do|formula|
|
|||||||
filename = formula + '-' + version + '.tar.gz'
|
filename = formula + '-' + version + '.tar.gz'
|
||||||
ohai "Bottling #{formula} #{version}..."
|
ohai "Bottling #{formula} #{version}..."
|
||||||
HOMEBREW_CELLAR.cd do
|
HOMEBREW_CELLAR.cd do
|
||||||
# Use gzip, much faster than bzip2 and hardly any file size difference
|
# Use gzip, faster to compress than bzip2, faster to uncompress than bzip2
|
||||||
# when compressing binaries.
|
# or an uncompressed tarball (and more bandwidth friendly).
|
||||||
safe_system 'tar', 'czf', "#{destination}/#{filename}", "#{formula}/#{version}"
|
safe_system 'tar', 'czf', "#{destination}/#{filename}", "#{formula}/#{version}"
|
||||||
end
|
end
|
||||||
ohai "Bottled #{filename}"
|
ohai "Bottled #{filename}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user