[78959] trunk/base/src/port1.0/portutil.tcl

jmr at macports.org jmr at macports.org
Fri May 27 17:14:04 PDT 2011


Revision: 78959
          http://trac.macports.org/changeset/78959
Author:   jmr at macports.org
Date:     2011-05-27 17:14:02 -0700 (Fri, 27 May 2011)
Log Message:
-----------
change phase shown in log before executing prerun procs for targets

Modified Paths:
--------------
    trunk/base/src/port1.0/portutil.tcl

Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl	2011-05-27 23:57:15 UTC (rev 78958)
+++ trunk/base/src/port1.0/portutil.tcl	2011-05-28 00:14:02 UTC (rev 78959)
@@ -1273,13 +1273,14 @@
 
             # otherwise execute the task.
             if {$skipped == 0} {
-                set target [ditem_key $ditem provides]
+                # change current phase shown in log
+                set_phase $target
 
                 # Execute pre-run procedure
                 if {[ditem_contains $ditem prerun]} {
                     set result [catch {[ditem_key $ditem prerun] $targetname} errstr]
                 }
-                set_phase  $target
+
                 #start tracelib
                 if {($result ==0
                   && [info exists ports_trace]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110527/4e2c1e74/attachment.html>


More information about the macports-changes mailing list