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

raimue at macports.org raimue at macports.org
Sun Feb 24 06:45:30 PST 2008


Revision: 34420
          http://trac.macosforge.org/projects/macports/changeset/34420
Author:   raimue at macports.org
Date:     2008-02-24 06:45:25 -0800 (Sun, 24 Feb 2008)

Log Message:
-----------
port/port.tcl
Fix count of matches for 'port search'

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

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2008-02-24 14:15:03 UTC (rev 34419)
+++ trunk/base/src/port/port.tcl	2008-02-24 14:45:25 UTC (rev 34420)
@@ -1962,8 +1962,8 @@
         }
         if { !$portfound } {
             ui_msg "No match for $portname found"
-        } elseif {[llength $res] > 1} {
-            ui_msg "\nFound [llength $res] ports."
+        } elseif {[llength $res] > 2} {
+            ui_msg "\nFound [expr [llength $res] / 2] ports."
         }
 
         set separator "--\n"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080224/64f967f5/attachment.html 


More information about the macports-changes mailing list