Bug 156724

Summary: [PATCH] Porter's Handbook uses shism $()
Product: Documentation Reporter: Chris Rees <utisoft>
Component: Books & ArticlesAssignee: Ryusuke SUZUKI <ryusuke>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Chris Rees 2011-04-29 20:50:09 UTC
Under the automated pkg-plist section, the quoted commands use command
substitution syntax $(), which is great if you're using sh etc, but
not if you're using csh -- the default root shell.

Fix: 

- in pkg-plist generation:
		* replace $()-style substitution with `` for csh users

	Submitted by: Chris Rees (utisoft@gmail.com)

Patch:

http://www.bayofrum.net/~crees/patches/porters-plist-automated.diff
How-To-Repeat: Copy-paste the commands suggested to generate the pkg-plist in the
Porter's Handbook into t?csh.
Comment 1 Ryusuke SUZUKI freebsd_committer freebsd_triage 2011-05-22 11:40:40 UTC
Responsible Changed
From-To: freebsd-doc->ryusuke

I'll take this.
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-06-03 16:03:06 UTC
ryusuke     2011-06-03 15:02:58 UTC

  FreeBSD doc repository

  Modified files:
    en_US.ISO8859-1/books/porters-handbook book.sgml 
  Log:
  PR: docs/156724
  
  Replace $()-style substitution in "7.5 Automated package list creation" and
  "9.4 PREFIX and DESTDIR" subsection with ``.
  Backquote notation is more versatile since both csh and sh understand.
  
  Submitted by:   Chris Rees (utisoft _at_ gmail dot com)
  Discussed with: hrs@
  
  Revision  Changes    Path
  1.1108    +11 -11    doc/en_US.ISO8859-1/books/porters-handbook/book.sgml
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Ryusuke SUZUKI freebsd_committer freebsd_triage 2011-06-04 00:50:31 UTC
State Changed
From-To: open->closed

Committed. Thanks!