diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/keg.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 6ab8d4c1e..85b130517 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -422,6 +422,7 @@ class Keg if src.symlink? || src.file? Find.prune if File.basename(src) == ".DS_Store" + Find.prune if src.realpath == dst # Don't link pyc files because Python overwrites these cached object # files and next time brew wants to link, the pyc file is in the way. if src.extname == ".pyc" && src.to_s =~ /site-packages/ |
