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

snc at macports.org snc at macports.org
Mon Oct 17 15:29:11 PDT 2011


Revision: 85950
          http://trac.macports.org/changeset/85950
Author:   snc at macports.org
Date:     2011-10-17 15:29:11 -0700 (Mon, 17 Oct 2011)
Log Message:
-----------
base: followup to r85934, no longer need to skip next license

Revision Links:
--------------
    http://trac.macports.org/changeset/85934

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

Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl	2011-10-17 22:28:26 UTC (rev 85949)
+++ trunk/base/src/port1.0/portlint.tcl	2011-10-17 22:29:11 UTC (rev 85950)
@@ -510,18 +510,11 @@
 
         set licenses [split $license '\ ']
         set prev ''
-        set license_skip 0
         foreach test $licenses {
-            if {${license_skip} == 1} {
-                set license_skip 0
-                ui_debug "Skipping ${test}"
-                continue
-            }
 
             # space instead of hyphen
             if {[string is double -strict $test]} {
                 ui_error "Invalid license '${prev} ${test}': missing hyphen between ${prev} ${test}"
-                set license_skip 1
 
             # missing hyphen
             } elseif {![string equal -nocase "X11" $test] && [regexp {([^-a-z]+)$} $test license_full license_name license_vers]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111017/b83cea73/attachment.html>


More information about the macports-changes mailing list