New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79470


Ignore:
Timestamp:
06/14/11 08:46:19 (4 years ago)
Author:
jmr@…
Message:

fixes for rsyncing tarball

File:
1 edited

Legend:

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

    r79465 r79470  
    20242024                    # save the local PortIndex data 
    20252025                    if {[file isfile $indexfile]} { 
     2026                        file copy -force $indexfile ${destdir}/ 
    20262027                        file rename -force $indexfile ${destdir}/tmp/ports/ 
    20272028                        if {[file isfile ${indexfile}.quick]} { 
     
    20382039                    if {$is_tarball} { 
    20392040                        # chop ports.tar off the end 
    2040                         set source [string range $source 0 end-[string length [file tail $source]]] 
    2041                     } 
    2042                     set remote_indexfile "${source}PortIndex_${macports::os_platform}_${macports::os_major}_${macports::os_arch}/PortIndex" 
     2041                        set index_source [string range $source 0 end-[string length [file tail $source]]] 
     2042                    } else { 
     2043                        set index_source $source  
     2044                    } 
     2045                    set remote_indexfile "${index_source}PortIndex_${macports::os_platform}_${macports::os_major}_${macports::os_arch}/PortIndex" 
    20432046                    set rsync_commandline "${macports::autoconf::rsync_path} ${rsync_options} $remote_indexfile ${destdir}" 
    20442047                    ui_debug $rsync_commandline 
Note: See TracChangeset for help on using the changeset viewer.