Changeset 53713


Ignore:
Timestamp:
Jul 12, 2009, 5:03:52 PM (10 years ago)
Author:
jmr@…
Message:

Don't regenerate PortIndex.quick if it is present but older than PortIndex. Both are generated by the portindex script at the same time now, but sometimes only one actually changes and thus gets checked into svn and eventually ends up on the user's disk with a newer mod time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports.tcl

    r53712 r53713  
    19021902            continue
    19031903        }
    1904         if {![file exists ${index}.quick] || [file mtime ${index}] > [file mtime ${index}.quick]} {
    1905             # stale or nonexistent quick index file, so generate a new one
     1904        if {![file exists ${index}.quick]} {
     1905            ui_warn "No quick index file found, attempting to generate one for source: $source"
    19061906            if {[catch {set quicklist [mports_generate_quickindex ${index}]}]} {
    19071907                continue
Note: See TracChangeset for help on using the changeset viewer.