[67510] trunk/dports/_resources/port1.0/livecheck/googlecode.tcl

snc at macports.org snc at macports.org
Tue May 11 05:17:14 PDT 2010


Revision: 67510
          http://trac.macports.org/changeset/67510
Author:   snc at macports.org
Date:     2010-05-11 05:17:12 -0700 (Tue, 11 May 2010)
Log Message:
-----------
fix googlecode regex (site change 2010-05-11 uses javascript)

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/livecheck/googlecode.tcl

Modified: trunk/dports/_resources/port1.0/livecheck/googlecode.tcl
===================================================================
--- trunk/dports/_resources/port1.0/livecheck/googlecode.tcl	2010-05-11 12:15:31 UTC (rev 67509)
+++ trunk/dports/_resources/port1.0/livecheck/googlecode.tcl	2010-05-11 12:17:12 UTC (rev 67510)
@@ -14,6 +14,6 @@
     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/${livecheck.distname}\""]
+    set livecheck.regex [list "location\.href='http://[quotemeta ${livecheck.name}].googlecode.com/files/${livecheck.distname}'"]
 }
 set livecheck.type "regex"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100511/d821cc48/attachment-0001.html>


More information about the macports-changes mailing list