#2366 closed defect (fixed)
Add new option destroot.keepdirs to eliminate need for .turd files
Reported by: | jberry@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
Patch file attached.
.turd files have traditionally been used to prevent empty directories that are actually needed, from being deleted during the destroot phase. But .turd files are ugly, and cause a variety of ugly complications as well.
The attached patch adds a new option destroot.keepdirs which accepts a list of paths in destroot that should be "kept".
The implementation simply adds additional options to the find command which searches for empty directories, in order to exclude these "keepdirs" from the search.
The directories to keep are specified by full paths into the destroot. My only question on this patch is whether specifying these as destroot paths is appropriate, or whether they should be specified relative to prefix.
Attachments (1)
Change History (2)
Changed 20 years ago by jberry@…
Attachment: | portdestroot.tcl.diff added |
---|
comment:1 Changed 20 years ago by jkh@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch to base/src/port1.0/portdestroot.tcl