don't clean libexec

This commit is contained in:
Adam Vandenberg 2014-09-25 07:57:00 -07:00
parent fb1250a012
commit 95d16ef1ba

View File

@ -43,7 +43,7 @@ class Cleaner
dirs = [] dirs = []
symlinks = [] symlinks = []
@f.prefix.find do |path| @f.prefix.find do |path|
if @f.skip_clean? path if path == @f.libexec or @f.skip_clean?(path)
Find.prune Find.prune
elsif path.symlink? elsif path.symlink?
symlinks << path symlinks << path