[MacPorts] #28356: eggdrop: minimize use of "system"

MacPorts noreply at macports.org
Thu Feb 10 15:09:27 PST 2011


#28356: eggdrop: minimize use of "system"
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  dre@…      
     Type:  enhancement              |      Status:  new        
 Priority:  Normal                   |   Milestone:             
Component:  ports                    |     Version:  1.9.2      
 Keywords:                           |        Port:  eggdrop    
-------------------------------------+--------------------------------------
 The eggdrop portfile includes this line:

 {{{
 post-destroot   { system "cd ${destroot}${prefix}/bin/ && rm
 ../share/eggdrop/eggdrop && ln -s ../share/eggdrop/eggdrop-${version}
 eggdrop && mv ../share/eggdrop/eggdrop.conf
 ../share/eggdrop/eggdrop.conf.sample && mv
 ../share/eggdrop/doc/man1/eggdrop.1 ../share/man/man1"
 }}}

 All of this can be done with native Tcl commands, which is preferable to
 using "system".

-- 
Ticket URL: <https://trac.macports.org/ticket/28356>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list