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

raimue at macports.org raimue at macports.org
Sat Mar 1 15:59:50 PST 2008


Revision: 34668
          http://trac.macosforge.org/projects/macports/changeset/34668
Author:   raimue at macports.org
Date:     2008-03-01 15:59:49 -0800 (Sat, 01 Mar 2008)

Log Message:
-----------
port1.0/portlivecheck.tcl:
Don't use >foo< in debug output as it is hard to read with HTML tags which are widely used in ${livecheck.regex}, use "foo" instead.

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

Modified: trunk/base/src/port1.0/portlivecheck.tcl
===================================================================
--- trunk/base/src/port1.0/portlivecheck.tcl	2008-03-01 23:54:44 UTC (rev 34667)
+++ trunk/base/src/port1.0/portlivecheck.tcl	2008-03-01 23:59:49 UTC (rev 34668)
@@ -170,7 +170,7 @@
                 set chan [open $tempfile "r"]
                 set updated -1
                 set the_re [join ${livecheck.regex}]
-                ui_debug "The regex is >$the_re<"
+                ui_debug "The regex is \"$the_re\""
                 if {${livecheck.check} == "regexm"} {
                     set data [read $chan]
                     if {[regexp $the_re $data matched updated_version]} {
@@ -179,7 +179,7 @@
                         } else {
                             set updated 0
                         }
-                        ui_debug "The regex matched >$matched<"
+                        ui_debug "The regex matched \"$matched\""
                     }
                 } else {
                     set updated_version 0
@@ -191,7 +191,7 @@
                             if {[rpm-vercomp $upver $updated_version] > 0} {
                                 set updated_version $upver
                             }
-                            ui_debug "The regex matched >$matched<"
+                            ui_debug "The regex matched \"$matched\""
                         }
                     }
                     if {$updated_version != ${livecheck.version}} {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080301/7dfdc6b4/attachment.html 


More information about the macports-changes mailing list