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

jmr at macports.org jmr at macports.org
Fri Feb 3 14:54:19 PST 2012


Revision: 89606
          http://trac.macports.org/changeset/89606
Author:   jmr at macports.org
Date:     2012-02-03 14:54:19 -0800 (Fri, 03 Feb 2012)
Log Message:
-----------
calling addgroup directly has legitimate uses

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

Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl	2012-02-03 22:53:05 UTC (rev 89605)
+++ trunk/base/src/port1.0/portlint.tcl	2012-02-03 22:54:19 UTC (rev 89606)
@@ -250,8 +250,8 @@
             }
         }
 
-        if {[string match "*addgroup*" $line] || [string match "*adduser*" $line]} {
-            ui_warn "Line $lineno should use add_users"
+        if {[string match "*adduser*" $line]} {
+            ui_warn "Line $lineno calling adduser directly; consider setting add_users instead"
             incr warnings
         }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120203/96ea1467/attachment.html>


More information about the macports-changes mailing list