[30985] trunk/base/src/port1.0/portlint.tcl

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 13 00:14:35 PST 2007


Revision: 30985
          http://trac.macosforge.org/projects/macports/changeset/30985
Author:   afb at macports.org
Date:     2007-11-13 00:14:34 -0800 (Tue, 13 Nov 2007)

Log Message:
-----------
only check first/primary category (#13260)

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

Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl	2007-11-13 07:53:18 UTC (rev 30984)
+++ trunk/base/src/port1.0/portlint.tcl	2007-11-13 08:14:34 UTC (rev 30985)
@@ -342,14 +342,13 @@
     }
 
     if {[info exists categories]} {
-        foreach category $categories {
+        set category [lindex $categories 0]
            if {[lsearch -exact $lint_categories $category] == -1} {
                 ui_error "Unknown category: $category"
                 incr errors
             } else {
                 ui_info "OK: Found category: $category"
             }
-        }
     }
 
     if {![string is integer -strict $portepoch]} {

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


More information about the macports-changes mailing list