[82959] branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl

cal at macports.org cal at macports.org
Mon Aug 22 11:27:03 PDT 2011


Revision: 82959
          http://trac.macports.org/changeset/82959
Author:   cal at macports.org
Date:     2011-08-22 11:27:02 -0700 (Mon, 22 Aug 2011)
Log Message:
-----------
rev-upgrade: Consistency in output: The first run is not really
rebuilding

Modified Paths:
--------------
    branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl

Modified: branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl
===================================================================
--- branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl	2011-08-22 18:24:46 UTC (rev 82958)
+++ branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl	2011-08-22 18:27:02 UTC (rev 82959)
@@ -3928,7 +3928,7 @@
             incr broken_port_counts([$port name])
             if {$broken_port_counts([$port name]) > 3} {
                 ui_error "Port [$port name] is still broken after rebuiling it more than 3 times. You might want to file a bug for this."
-                error "Port [$port name] still broken after rebuilding $broken_port_counts([$port name]) time(s)"
+                error "Port [$port name] still broken after rebuilding [expr $broken_port_counts([$port name]) - 1] time(s)"
             }
         }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110822/777968a8/attachment.html>


More information about the macports-changes mailing list