| Summary: | Errors in the Handbook, section 4.4.18 | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Jason Evans <jasone> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Committed, thanks! |
In section 4.4.18, the following is questionable: ---------------- Store the directory structure in a new file. # (cd /var/tmp/port-name && find * \! -type d) > OLD-DIRS ---------------- ^^ I don't think the \! should be there, since that causes the command to list everything *except* directories. Also: ---------------- You must also add any newly created directories to the packing list. # (cd /var/tmp/port-name && find * -type d) | comm -13 OLD-DIRS - | sed -e 's#^#@dirrm#' >> pkg/PLIST ---------------- ^^ There should proabably be a space between the 'm' and the '#'.