[70613] branches/gsoc10-configfiles/base/src/port1.0/portutil.tcl

and.damore at macports.org and.damore at macports.org
Sun Aug 15 01:36:38 PDT 2010


Revision: 70613
          http://trac.macports.org/changeset/70613
Author:   and.damore at macports.org
Date:     2010-08-15 01:36:35 -0700 (Sun, 15 Aug 2010)
Log Message:
-----------
replaced greater-equal-than with greater-than to make gsoctestcase.sh work, gsocdummy Portfile is created and accessed by mp in the same second

Modified Paths:
--------------
    branches/gsoc10-configfiles/base/src/port1.0/portutil.tcl

Modified: branches/gsoc10-configfiles/base/src/port1.0/portutil.tcl
===================================================================
--- branches/gsoc10-configfiles/base/src/port1.0/portutil.tcl	2010-08-15 08:23:33 UTC (rev 70612)
+++ branches/gsoc10-configfiles/base/src/port1.0/portutil.tcl	2010-08-15 08:36:35 UTC (rev 70613)
@@ -1557,7 +1557,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/20100815/a4df70a2/attachment.html>


More information about the macports-changes mailing list