bottle: remove pyc files before bottling.
Allows more `cellar :any` bottles.
This commit is contained in:
parent
916e751596
commit
0e52cc6188
@ -136,6 +136,7 @@ module Homebrew extend self
|
|||||||
begin
|
begin
|
||||||
keg.relocate_install_names prefix, Keg::PREFIX_PLACEHOLDER,
|
keg.relocate_install_names prefix, Keg::PREFIX_PLACEHOLDER,
|
||||||
cellar, Keg::CELLAR_PLACEHOLDER, :keg_only => f.keg_only?
|
cellar, Keg::CELLAR_PLACEHOLDER, :keg_only => f.keg_only?
|
||||||
|
keg.delete_pyc_files!
|
||||||
|
|
||||||
HOMEBREW_CELLAR.cd do
|
HOMEBREW_CELLAR.cd do
|
||||||
# Use gzip, faster to compress than bzip2, faster to uncompress than bzip2
|
# Use gzip, faster to compress than bzip2, faster to uncompress than bzip2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user