[70124] branches/release_1_9/base/src/macports1.0/macports.tcl

jmr at macports.org jmr at macports.org
Thu Jul 29 23:52:16 PDT 2010


Revision: 70124
          http://trac.macports.org/changeset/70124
Author:   jmr at macports.org
Date:     2010-07-29 23:52:15 -0700 (Thu, 29 Jul 2010)
Log Message:
-----------
merge r68786 from trunk:
 use platform-specific index from daily tarball

Revision Links:
--------------
    http://trac.macports.org/changeset/68786

Modified Paths:
--------------
    branches/release_1_9/base/src/macports1.0/macports.tcl

Modified: branches/release_1_9/base/src/macports1.0/macports.tcl
===================================================================
--- branches/release_1_9/base/src/macports1.0/macports.tcl	2010-07-30 06:42:45 UTC (rev 70123)
+++ branches/release_1_9/base/src/macports1.0/macports.tcl	2010-07-30 06:52:15 UTC (rev 70124)
@@ -1924,7 +1924,7 @@
                         continue
                     }
 
-                    file mkdir [file dirname $indexfile]
+                    file mkdir $destdir
 
                     set verboseflag {}
                     if {$macports::portverbose == "yes"} {
@@ -1958,6 +1958,11 @@
                         ui_warn "Setting world read permissions on parts of the ports tree failed, need root?"
                     }
 
+                    set platindex "PortIndex_${macports::os_platform}_${macports::os_major}_${macports::os_arch}/PortIndex"
+                    if {[file isfile ${destdir}/${platindex}] && [file isfile ${destdir}/${platindex}.quick]} {
+                        file rename -force "${destdir}/${platindex}" "${destdir}/${platindex}.quick" $destdir
+                    }
+
                     file delete $tarpath
                     
                     set needs_portindex 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100729/bc2f188c/attachment.html>


More information about the macports-changes mailing list