aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-03-13 09:06:22 +0000
committerMike McQuaid2014-03-13 10:05:20 +0000
commit0e52cc6188b13b80ac6059361b628ff7e998f987 (patch)
tree635b182d2e27ff37bfd07712b44b242dd70bcb76 /Library
parent916e751596535177510f0c2043ecc16c392f12e2 (diff)
downloadbrew-0e52cc6188b13b80ac6059361b628ff7e998f987.tar.bz2
bottle: remove pyc files before bottling.
Allows more `cellar :any` bottles.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb1
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