[27379] trunk/base/src/port1.0/portlivecheck.tcl
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jul 31 18:55:19 PDT 2007
Revision: 27379
http://trac.macosforge.org/projects/macports/changeset/27379
Author: ryandesign at macports.org
Date: 2007-07-31 18:55:19 -0700 (Tue, 31 Jul 2007)
Log Message:
-----------
Always print the livecheck regex in debug mode, not only when it fails. Remove unnecessary duplicate printout of livecheck URL when it fails.
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-08-01 01:07:40 UTC (rev 27378)
+++ trunk/base/src/port1.0/portlivecheck.tcl 2007-08-01 01:55:19 UTC (rev 27379)
@@ -143,6 +143,7 @@
set chan [open $tempfile "r"]
set updated -1
set the_re [subst -nocommands -nobackslashes [join ${livecheck.regex}]]
+ ui_debug "The regex is >$the_re<"
if {${livecheck.check} == "regexm"} {
set data [read $chan]
if {[regexp $the_re $data matched updated_version]} {
@@ -171,8 +172,6 @@
}
close $chan
if {$updated < 0} {
- ui_debug "regex is >$the_re<"
- ui_debug "url is >${livecheck.url}<"
ui_error "cannot check if $portname was updated (regex didn't match)"
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070731/c87ce90c/attachment.html
More information about the macports-changes
mailing list