[78956] trunk/base/src/port1.0/portutil.tcl
raimue at macports.org
raimue at macports.org
Fri May 27 16:40:26 PDT 2011
Revision: 78956
http://trac.macports.org/changeset/78956
Author: raimue at macports.org
Date: 2011-05-27 16:40:26 -0700 (Fri, 27 May 2011)
Log Message:
-----------
port1.0/portutil.tcl:
Portfile modifications in the same second are fine, closes #65246
Modified Paths:
--------------
trunk/base/src/port1.0/portutil.tcl
Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl 2011-05-27 23:33:25 UTC (rev 78955)
+++ trunk/base/src/port1.0/portutil.tcl 2011-05-27 23:40:26 UTC (rev 78956)
@@ -1576,7 +1576,7 @@
if {![file writable $statefile] && ![tbool ports_dryrun]} {
return -code error "$statefile is not writable - check permission on port directory"
}
- if {[file mtime ${portpath}/Portfile] >= [clock seconds]} {
+ if {[file mtime ${portpath}/Portfile] > [clock seconds]} {
return -code error "Portfile is from the future - check date and time of your system"
}
if {!([info exists ports_ignore_older] && $ports_ignore_older == "yes") && [file mtime $statefile] < [file mtime ${portpath}/Portfile]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110527/4df03288/attachment.html>
More information about the macports-changes
mailing list