Changeset 68786


Ignore:
Timestamp:
Jun 13, 2010, 4:37:39 PM (10 years ago)
Author:
jmr@…
Message:

use platform-specific index from daily tarball

File:
1 edited

Legend:

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

    r68765 r68786  
    19431943                    }
    19441944
    1945                     file mkdir [file dirname $indexfile]
     1945                    file mkdir $destdir
    19461946
    19471947                    set verboseflag {}
     
    19751975                    if {[catch {system "chmod -R a+r \"$destdir\""}]} {
    19761976                        ui_warn "Setting world read permissions on parts of the ports tree failed, need root?"
     1977                    }
     1978
     1979                    set platindex "PortIndex_${macports::os_platform}_${macports::os_major}_${macports::os_arch}/PortIndex"
     1980                    if {[file isfile ${destdir}/${platindex}] && [file isfile ${destdir}/${platindex}.quick]} {
     1981                        file rename -force "${destdir}/${platindex}" "${destdir}/${platindex}.quick" $destdir
    19771982                    }
    19781983
Note: See TracChangeset for help on using the changeset viewer.