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

source_changes at macosforge.org source_changes at macosforge.org
Tue Jul 17 18:15:16 PDT 2007


Revision: 27079
          http://trac.macosforge.org/projects/macports/changeset/27079
Author:   ryandesign at macports.org
Date:     2007-07-17 18:15:16 -0700 (Tue, 17 Jul 2007)

Log Message:
-----------
Fix double de-escaping of livecheck.regex inadvertently introduced in r26041; fix provided by Kevin Ballard.

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

Modified: trunk/base/src/port1.0/portlivecheck.tcl
===================================================================
--- trunk/base/src/port1.0/portlivecheck.tcl	2007-07-18 01:08:19 UTC (rev 27078)
+++ trunk/base/src/port1.0/portlivecheck.tcl	2007-07-18 01:15:16 UTC (rev 27079)
@@ -142,7 +142,7 @@
 				# let's extract the version from the file.
 				set chan [open $tempfile "r"]
 				set updated -1
-				set the_re [subst -nocommands [join ${livecheck.regex}]]
+				set the_re [subst -nocommands -nobackslashes [join ${livecheck.regex}]]
 				if {${livecheck.check} == "regexm"} {
 					set data [read $chan]
 					if {[regexp $the_re $data matched updated_version]} {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070717/605ac447/attachment.html


More information about the macports-changes mailing list