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

cal at macports.org cal at macports.org
Wed Apr 2 13:09:21 PDT 2014


Revision: 118455
          https://trac.macports.org/changeset/118455
Author:   cal at macports.org
Date:     2014-04-02 13:09:20 -0700 (Wed, 02 Apr 2014)
Log Message:
-----------
base: remove unhelpful error output in portutil

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

Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl	2014-04-02 20:08:42 UTC (rev 118454)
+++ trunk/base/src/port1.0/portutil.tcl	2014-04-02 20:09:20 UTC (rev 118455)
@@ -1684,11 +1684,14 @@
 
     if {[llength $dlist] > 0} {
         # somebody broke!
-        set errstring "Warning: targets not executed for $subport:"
-        foreach ditem $dlist {
-            append errstring " [ditem_key $ditem name]"
-        }
-        ui_info $errstring
+        # The phase that failed should have already printed error info; don't
+        # print useless stuff cluttering the *real* info of the error message.
+
+        #set errstring "Warning: targets not executed for $subport:"
+        #foreach ditem $dlist {
+        #    append errstring " [ditem_key $ditem name]"
+        #}
+        #ui_info $errstring
         set result 1
     } else {
         set result 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140402/9fc29b27/attachment-0001.html>


More information about the macports-changes mailing list