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

raimue at macports.org raimue at macports.org
Tue Apr 26 07:00:28 PDT 2016


Revision: 148084
          https://trac.macports.org/changeset/148084
Author:   raimue at macports.org
Date:     2016-04-26 07:00:28 -0700 (Tue, 26 Apr 2016)
Log Message:
-----------
livecheck: reduce debug message clutter

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

Modified: trunk/base/src/port1.0/portlivecheck.tcl
===================================================================
--- trunk/base/src/port1.0/portlivecheck.tcl	2016-04-26 13:43:42 UTC (rev 148083)
+++ trunk/base/src/port1.0/portlivecheck.tcl	2016-04-26 14:00:28 UTC (rev 148084)
@@ -74,9 +74,7 @@
     }
 
     set tempfile [mktemp "/tmp/mports.livecheck.XXXXXXXX"]
-    set port_moddate [file mtime ${portpath}/Portfile]
 
-    ui_debug "Portfile modification date is [clock format $port_moddate]"
     ui_debug "Port (livecheck) version is ${livecheck.version}"
 
     set curl_options {}
@@ -217,6 +215,7 @@
         }
         "moddate" {
             set port_moddate [file mtime ${portpath}/Portfile]
+            ui_debug "Portfile modification date is [clock format $port_moddate]"
             if {[catch {set updated [curl isnewer ${livecheck.url} $port_moddate]} error]} {
                 ui_error "cannot check if $subport was updated ($error)"
                 set updated -1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160426/2e0a0085/attachment.html>


More information about the macports-changes mailing list