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

raimue at macports.org raimue at macports.org
Fri Feb 22 22:12:38 PST 2008


Revision: 34400
          http://trac.macosforge.org/projects/macports/changeset/34400
Author:   raimue at macports.org
Date:     2008-02-22 22:12:37 -0800 (Fri, 22 Feb 2008)

Log Message:
-----------
port1.0/portlivecheck.tcl:
Report error if curl fetch failed

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-02-23 05:45:25 UTC (rev 34399)
+++ trunk/base/src/port1.0/portlivecheck.tcl	2008-02-23 06:12:37 UTC (rev 34400)
@@ -164,6 +164,7 @@
             ui_debug "Fetching ${livecheck.url}"
             if {[catch {curl fetch ${livecheck.url} $tempfile} error]} {
                 ui_error "cannot check if $portname was updated ($error)"
+                set updated -1
             } else {
                 # let's extract the version from the file.
                 set chan [open $tempfile "r"]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080222/3cbccc75/attachment.html 


More information about the macports-changes mailing list