[MacPorts] #13918: port activate returns 0 exit code even when unsuccessful

MacPorts noreply at macports.org
Thu Mar 12 21:18:58 PDT 2009


#13918: port activate returns 0 exit code even when unsuccessful
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  MacPorts 1.8.0                       
Component:  base                     |     Version:  1.7.0                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------

Comment(by blb@…):

 If port's default operation is to act like -x, I think the -999 stuff can
 also be removed.  The only thing with that is in {{{proc
 process_command_files}}} where port processes each file, then returns the
 exit status from the last one processed.

 Instead, it should (in my opinion) return the status from the first non-
 zero and not continue, unless -p were given, then act like it does now.

-- 
Ticket URL: <http://trac.macports.org/ticket/13918#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list