aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cleaner.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cleaner.rb b/Library/Homebrew/cleaner.rb
index b3e320358..30cf1c0f5 100644
--- a/Library/Homebrew/cleaner.rb
+++ b/Library/Homebrew/cleaner.rb
@@ -64,7 +64,9 @@ class Cleaner
end
end
- # Clean a single folder (non-recursively)
+ # Clean a top-level (bin, sbin, lib) directory, recursively, by fixing file
+ # permissions and removing .la files, unless the files (or parent
+ # directories) are protected by skip_clean.
def clean_dir d
d.find do |path|
path.extend(ObserverPathnameExtension)