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

raimue at macports.org raimue at macports.org
Mon May 26 17:12:46 PDT 2008


Revision: 37121
          http://trac.macosforge.org/projects/macports/changeset/37121
Author:   raimue at macports.org
Date:     2008-05-26 17:12:46 -0700 (Mon, 26 May 2008)

Log Message:
-----------
port/port.tcl:
Fix number of ports found in port search

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

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2008-05-27 00:05:08 UTC (rev 37120)
+++ trunk/base/src/port/port.tcl	2008-05-27 00:12:46 UTC (rev 37121)
@@ -2024,8 +2024,8 @@
         }
         if { !$portfound } {
             ui_msg "No match for $portname found"
-        } elseif {[llength $res] > 2} {
-            ui_msg "\nFound [expr [llength $res] / 2] ports."
+        } elseif {[llength $res] > 1} {
+            ui_msg "\nFound [llength $res] ports."
         }
 
         set separator "--\n"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080526/dec1fa2a/attachment.htm 


More information about the macports-changes mailing list