NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/47292: Outdated documentation for obtaining system sources.



>Number:         47292
>Category:       misc
>Synopsis:       Outdated documentation for obtaining system sources.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 07 10:40:00 +0000 2012
>Originator:     A Friend
>Release:        6.0
>Organization:
Disorganized Uncompany
>Environment:
NetBSD netbsd 6.0 NetBSD 6.0 (XEN3_DOMU) amd64
>Description:
http://www.netbsd.org/docs/guide/en/chap-fetch.html is outdated,

$ foreach file (*.tgz)
?    tar -xzf $file -C /usr/src
? end

should be

$ foreach file (*.tgz)
?    tar -xzf $file -C /
? end

methinks.
>How-To-Repeat:
Follow the outdated guide.
>Fix:
Update and change "/usr/src" to "/".
Since /bin/sh can't handle those lines it might be an idea to replace them with 
something like

$ for each in `ls *.tgz`; do tar xzvf $each -C /; done



Home | Main Index | Thread Index | Old Index