Bug 16773

Summary: Errors in the Handbook, section 4.4.18
Product: Documentation Reporter: Jason Evans <jasone>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jason Evans 2000-02-17 07:10:01 UTC
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 '#'.
Comment 1 Gregory Sutter freebsd_committer freebsd_triage 2000-02-17 07:20:59 UTC
State Changed
From-To: open->closed

Committed, thanks!