[48870] trunk/base/src/port/port.tcl

perry at macports.org perry at macports.org
Mon Mar 30 18:05:41 PDT 2009


Revision: 48870
          http://trac.macports.org/changeset/48870
Author:   perry at macports.org
Date:     2009-03-30 18:05:41 -0700 (Mon, 30 Mar 2009)
Log Message:
-----------
port/port.tcl - Rearranged the ports_quiet if block in action_notes.

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2009-03-31 01:02:51 UTC (rev 48869)
+++ trunk/base/src/port/port.tcl	2009-03-31 01:05:41 UTC (rev 48870)
@@ -1758,13 +1758,13 @@
         mportclose $mport
 
         # Display the notes.
-        if {$portnotes ne {}} {
-            if {![macports::ui_isset ports_quiet]} {
+        if {![macports::ui_isset ports_quiet]} {
+            if {$portnotes ne {}} {
                 puts "$portname has the following notes:"
+                puts [wrap $portnotes 0 "  " 1]
+            } else {
+                puts "$portname has no notes."
             }
-            puts [wrap $portnotes 0 "  " 1]
-        } else if {![macports::ui_isset ports_quiet]} {
-            puts "$portname has no notes."
         }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090330/8d7b0328/attachment.html>


More information about the macports-changes mailing list