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

source_changes at macosforge.org source_changes at macosforge.org
Thu Sep 13 09:50:40 PDT 2007


Revision: 29039
          http://trac.macosforge.org/projects/macports/changeset/29039
Author:   afb at macports.org
Date:     2007-09-13 09:50:39 -0700 (Thu, 13 Sep 2007)

Log Message:
-----------
change output order

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-09-13 15:51:33 UTC (rev 29038)
+++ trunk/base/src/port1.0/portlint.tcl	2007-09-13 16:50:39 UTC (rev 29039)
@@ -282,6 +282,20 @@
         }
     }
 
+    foreach opt_var $lint_optional {
+       if {$opt_var == "epoch"} {
+            set var "portepoch"
+        } elseif {$opt_var == "revision"} {
+            set var "portrevision"
+        } else {
+            set var $opt_var
+       }
+       if {[info exists $var]} {
+            # TODO: check whether it was seen (or default)
+            ui_info "OK: Found optional variable: $opt_var"
+       }
+    }
+
     foreach platform $platforms {
        if {[lsearch -exact $lint_platforms $platform] == -1} {
             ui_error "Unknown platform: $platform"
@@ -300,20 +314,6 @@
         }
     }
 
-    foreach opt_var $lint_optional {
-       if {$opt_var == "epoch"} {
-            set var "portepoch"
-        } elseif {$opt_var == "revision"} {
-            set var "portrevision"
-        } else {
-            set var $opt_var
-       }
-       if {[info exists $var]} {
-            # TODO: check whether it was seen (or default)
-            ui_info "OK: Found optional variable: $opt_var"
-       }
-    }
-
     if {![string is integer -strict $portepoch]} {
         ui_error "Port epoch is not numeric:  $portepoch"
         incr errors

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


More information about the macports-changes mailing list