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

jmr at macports.org jmr at macports.org
Tue Oct 11 22:57:19 PDT 2011


Revision: 85256
          http://trac.macports.org/changeset/85256
Author:   jmr at macports.org
Date:     2011-10-11 22:57:18 -0700 (Tue, 11 Oct 2011)
Log Message:
-----------
unknown license is not an error

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-12 05:50:29 UTC (rev 85255)
+++ trunk/base/src/port1.0/portlint.tcl	2011-10-12 05:57:18 UTC (rev 85256)
@@ -501,9 +501,9 @@
         incr warnings
     }
 
-    if {[string match "unknown" $license]} {
-        ui_error "$license license"
-        incr errors
+    if {$license == "unknown"} {
+        ui_warn "no license set"
+        incr warnings
     }
 
     # these checks are only valid for ports stored in the regular tree directories
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111011/1411b950/attachment.html>


More information about the macports-changes mailing list