[97765] trunk/dports/_resources/port1.0/livecheck/googlecode.tcl
and.damore at macports.org
and.damore at macports.org
Fri Sep 14 12:44:43 PDT 2012
Revision: 97765
http://trac.macports.org//changeset/97765
Author: and.damore at macports.org
Date: 2012-09-14 12:44:43 -0700 (Fri, 14 Sep 2012)
Log Message:
-----------
resources: stricter livecheck matching for googlecode, previously it was matching a trailing '" onclick='
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 2012-09-14 19:06:02 UTC (rev 97764)
+++ trunk/dports/_resources/port1.0/livecheck/googlecode.tcl 2012-09-14 19:44:43 UTC (rev 97765)
@@ -17,7 +17,7 @@
set livecheck.url "http://code.google.com/p/${livecheck.name}/downloads/list"
}
if {${livecheck.distname} eq "default"} {
- set livecheck.distname [regsub ***=[quotemeta ${livecheck.version}] [quotemeta [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 "href=\"//[quotemeta ${livecheck.name}].googlecode.com/files/${livecheck.distname}\""]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120914/19fc6809/attachment.html>
More information about the macports-changes
mailing list