[67798] trunk/base/src/macports1.0/macports.tcl

jmr at macports.org jmr at macports.org
Tue May 18 09:28:36 PDT 2010


Revision: 67798
          http://trac.macports.org/changeset/67798
Author:   jmr at macports.org
Date:     2010-05-18 09:28:33 -0700 (Tue, 18 May 2010)
Log Message:
-----------
close opened mports in mportexec even when one fails

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2010-05-18 16:01:28 UTC (rev 67797)
+++ trunk/base/src/macports1.0/macports.tcl	2010-05-18 16:28:33 UTC (rev 67798)
@@ -1619,6 +1619,9 @@
                 append errstring " [ditem_key $ditem provides]"
             }
             ui_error $errstring
+            foreach ditem $dlist {
+                catch {mportclose $ditem}
+            }
             return 1
         }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100518/7cf7cc4e/attachment.html>


More information about the macports-changes mailing list