[98932] trunk/dports/net/curl-ca-bundle/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Oct 21 01:49:31 PDT 2012
Revision: 98932
http://trac.macports.org//changeset/98932
Author: ryandesign at macports.org
Date: 2012-10-21 01:49:31 -0700 (Sun, 21 Oct 2012)
Log Message:
-----------
curl-ca-bundle: use gmt time (#36676)
Modified Paths:
--------------
trunk/dports/net/curl-ca-bundle/Portfile
Modified: trunk/dports/net/curl-ca-bundle/Portfile
===================================================================
--- trunk/dports/net/curl-ca-bundle/Portfile 2012-10-21 08:27:53 UTC (rev 98931)
+++ trunk/dports/net/curl-ca-bundle/Portfile 2012-10-21 08:49:31 UTC (rev 98932)
@@ -50,7 +50,7 @@
# should have copied the file by then. The success of this strategy relies
# on me noticing new versions within that time and updating the port, and
# on upstream not updating the file again within that time.
-set days_since_update [expr {[expr {[clock seconds] - [clock format [clock scan ${certdata_date}] -format %s]}] / 86400}]
+set days_since_update [expr {[expr {[clock seconds] - [clock format [clock scan ${certdata_date} -gmt yes] -format %s]}] / 86400}]
if {${days_since_update} > 3} {
master_sites-append http://distfiles.macports.org/curl/:certdata
} else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121021/52604893/attachment-0001.html>
More information about the macports-changes
mailing list