[Trac-bugs] [PC-BSD Trac] #538: pc-sysinstall unable to parse commands containing equals sign in pc-sysinstall.cfg

PC-BSD trac at pcbsd.org
Fri Feb 3 07:52:13 PST 2012


#538: pc-sysinstall unable to parse commands containing equals sign in pc-
sysinstall.cfg
---------------------------+-------------------------
 Reporter:  glarkin        |      Owner:  kris
     Type:  System Defect  |     Status:  new
 Priority:  minor          |  Milestone:
Component:  Installer      |    Version:  9.0-RELEASE
 Keywords:                 |
---------------------------+-------------------------
 The functions-parse.sh file contains several functions to extract values
 from a key/value pair delimited by an equals sign ("=").  The cut command
 used to do this extracts the 2nd field only, which truncates commands
 containing the delimiter character.

 Example:


 {{{
 runCommand=echo puppet_enable=YES >> /etc/rc.conf
 }}}

 This command will be executed as "echo puppet_enable" only.

 Please see the attachment that fixes the parsing problem.

-- 
Ticket URL: <http://trac.pcbsd.org/ticket/538>
PC-BSD <http://trac.pcbsd.org>
PC-BSD Project Management


More information about the Trac-bugs mailing list