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

MacPorts trac at macosforge.org
Thu May 8 07:04:09 PDT 2008


#13918: port activate returns 0 exit code even when unsuccessful
--------------------------------------+-------------------------------------
  Reporter:  ryandesign at macports.org  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                   |      Status:  new                                  
  Priority:  Normal                   |   Milestone:  MacPorts base bugs                   
 Component:  base                     |     Version:  1.7.0                                
Resolution:                           |    Keywords:                                       
--------------------------------------+-------------------------------------
Comment (by raimue at macports.org):

 Thing is, you can specify multiple ports. `port install foo bar` will
 still install bar even if installing foo failed. So currently here it
 always exits with zero.

 But if you specify -x, it will halt after foo if it failed and bar will
 not be installed, port returns non-zero.

 What should we do?

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


More information about the macports-tickets mailing list