[52276] trunk/dports/_resources/port1.0/livecheck/freshmeat.tcl

nox at macports.org nox at macports.org
Sat Jun 13 06:49:05 PDT 2009


Revision: 52276
          http://trac.macports.org/changeset/52276
Author:   nox at macports.org
Date:     2009-06-13 06:49:05 -0700 (Sat, 13 Jun 2009)
Log Message:
-----------
_resources: Use quotemeta on livecheck.distname in freshmeat livecheck.

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

Modified: trunk/dports/_resources/port1.0/livecheck/freshmeat.tcl
===================================================================
--- trunk/dports/_resources/port1.0/livecheck/freshmeat.tcl	2009-06-13 13:46:37 UTC (rev 52275)
+++ trunk/dports/_resources/port1.0/livecheck/freshmeat.tcl	2009-06-13 13:49:05 UTC (rev 52276)
@@ -6,6 +6,6 @@
     set livecheck.url "http://freshmeat.net/projects/${livecheck.name}/releases.atom"
 }
 if {${livecheck.regex} eq ""} {
-    set livecheck.regex [list "(?i)<title>${livecheck.distname} (.*)</title>"]
+    set livecheck.regex [list "(?i)<title>[quotemeta ${livecheck.distname}] (.*)</title>"]
 }
 set livecheck.type "regex"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090613/51ba1bdc/attachment.html>


More information about the macports-changes mailing list