diff options
| author | Mike McQuaid | 2014-03-13 09:06:22 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-13 10:05:20 +0000 |
| commit | 5a0a92d89d1041983ccd2110c43f37ddb785d70a (patch) | |
| tree | f19b3e8fe0d268d9f1898bc16a1eec708c6a4fb1 /Library | |
| parent | 350b1d6b216c67069b76adc2c69731494147a9b4 (diff) | |
| download | homebrew-5a0a92d89d1041983ccd2110c43f37ddb785d70a.tar.bz2 | |
bottle: remove pyc files before bottling.
Allows more `cellar :any` bottles.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 250f7dd66..659f8e75a 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -136,6 +136,7 @@ module Homebrew extend self begin keg.relocate_install_names prefix, Keg::PREFIX_PLACEHOLDER, cellar, Keg::CELLAR_PLACEHOLDER, :keg_only => f.keg_only? + keg.delete_pyc_files! HOMEBREW_CELLAR.cd do # Use gzip, faster to compress than bzip2, faster to uncompress than bzip2 |
