[50093] trunk/base/src/port1.0/portlivecheck.tcl

perry at macports.org perry at macports.org
Fri Apr 24 23:28:09 PDT 2009


Revision: 50093
          http://trac.macports.org/changeset/50093
Author:   perry at macports.org
Date:     2009-04-24 23:28:08 -0700 (Fri, 24 Apr 2009)
Log Message:
-----------
port1.0/portlivecheck.tcl:
* (.*) should not be quotemeta-ed in the default googlecheck livecheck.regex.

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

Modified: trunk/base/src/port1.0/portlivecheck.tcl
===================================================================
--- trunk/base/src/port1.0/portlivecheck.tcl	2009-04-25 05:52:47 UTC (rev 50092)
+++ trunk/base/src/port1.0/portlivecheck.tcl	2009-04-25 06:28:08 UTC (rev 50093)
@@ -150,10 +150,10 @@
                 set livecheck.url "http://code.google.com/p/${livecheck.name}/downloads/list"
             }
             if {${livecheck.distname} eq "default"} {
-                set livecheck.distname [regsub ***=${livecheck.version} [file tail [lindex ${distfiles} 0]] (.*)]
+                set livecheck.distname [regsub ***=[quotemeta ${livecheck.version}] [quotemeta [file tail [lindex ${distfiles} 0]]] (.*)]
             }
             if {${livecheck.regex} eq ""} {
-                set livecheck.regex [list "<a href=\"http://[quotemeta ${livecheck.name}].googlecode.com/files/[quotemeta ${livecheck.distname}]\""]
+                set livecheck.regex [list "<a href=\"http://[quotemeta ${livecheck.name}].googlecode.com/files/${livecheck.distname}\""]
             }
             set livecheck.check "regex"
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090424/9a5a9688/attachment.html>


More information about the macports-changes mailing list