add clarifying comments

This commit is contained in:
Adam Vandenberg 2014-07-20 09:51:11 -07:00
parent b0138e447d
commit 557f887f24

View File

@ -67,6 +67,12 @@ class Cleaner
# Clean a top-level (bin, sbin, lib) directory, recursively, by fixing file # Clean a top-level (bin, sbin, lib) directory, recursively, by fixing file
# permissions and removing .la files, unless the files (or parent # permissions and removing .la files, unless the files (or parent
# directories) are protected by skip_clean. # directories) are protected by skip_clean.
#
# bin and sbin should not have any subdirectories; if either do that is
# caught as an audit warning
#
# lib may have a large directory tree (see Erlang for instance), and
# clean_dir applies cleaning rules to the entire tree
def clean_dir d def clean_dir d
d.find do |path| d.find do |path|
path.extend(ObserverPathnameExtension) path.extend(ObserverPathnameExtension)