aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-09-25 07:57:00 -0700
committerAdam Vandenberg2014-09-26 18:22:19 -0700
commit8cc6cc47b22db8430f90acd5e8f18a5bc0e8426c (patch)
treea84789d1ac1dd5a873bc784279a0b4d60893522d /Library
parent05ce57f877f0d8194178f41bbd97c53a219943ea (diff)
downloadhomebrew-8cc6cc47b22db8430f90acd5e8f18a5bc0e8426c.tar.bz2
don't clean libexec
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cleaner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cleaner.rb b/Library/Homebrew/cleaner.rb
index bbfb24002..02ff9c5cd 100644
--- a/Library/Homebrew/cleaner.rb
+++ b/Library/Homebrew/cleaner.rb
@@ -43,7 +43,7 @@ class Cleaner
dirs = []
symlinks = []
@f.prefix.find do |path|
- if @f.skip_clean? path
+ if path == @f.libexec or @f.skip_clean?(path)
Find.prune
elsif path.symlink?
symlinks << path