[40836] trunk/base/src/port1.0/portutil.tcl

toby at macports.org toby at macports.org
Wed Oct 15 18:32:22 PDT 2008


Revision: 40836
          http://trac.macports.org/changeset/40836
Author:   toby at macports.org
Date:     2008-10-15 18:32:21 -0700 (Wed, 15 Oct 2008)
Log Message:
-----------
support platform releases with multiple versions, because nine plus one is ten

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

Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl	2008-10-15 23:38:32 UTC (rev 40835)
+++ trunk/base/src/port1.0/portutil.tcl	2008-10-16 01:32:21 UTC (rev 40836)
@@ -553,7 +553,7 @@
     set ditem [variant_new "temp-variant"]
     
     foreach arg $args {
-        if {[regexp {(^[0-9]$)} $arg match result]} {
+        if {[regexp {(^[0-9]+$)} $arg match result]} {
             set release $result
         } elseif {[regexp {([a-zA-Z0-9]*)} $arg match result]} {
             set arch $result
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081015/6281f3b7/attachment.html 


More information about the macports-changes mailing list