[25160] branches/dp2mp-move/base/src/macports1.0/macports.tcl

source_changes at macosforge.org source_changes at macosforge.org
Mon May 14 23:45:34 PDT 2007


Revision: 25160
          http://trac.macosforge.org/projects/macports/changeset/25160
Author:   jmpp at macports.org
Date:     2007-05-14 23:45:33 -0700 (Mon, 14 May 2007)

Log Message:
-----------

Base sources are now also downloaded into the new ${prefix}/var/macports/sources/<server>/<tree_offered> skeleton,
just as the ports tree. The most likely scenario will look like:

/opt/local/var/macports/sources/rsync.macports.org/release/base
/opt/local/var/macports/sources/rsync.macports.org/release/ports

This layout is, of course, open to discussion... but I think this is a good approach ;-)

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

Modified: branches/dp2mp-move/base/src/macports1.0/macports.tcl
===================================================================
--- branches/dp2mp-move/base/src/macports1.0/macports.tcl	2007-05-15 06:27:11 UTC (rev 25159)
+++ branches/dp2mp-move/base/src/macports1.0/macports.tcl	2007-05-15 06:45:33 UTC (rev 25160)
@@ -1450,7 +1450,7 @@
 # selfupdate procedure
 proc macports::selfupdate {optionslist} {
 	global macports::prefix macports::portdbpath macports::rsync_server macports::rsync_dir macports::rsync_options
-	global macports::autoconf::rsync_path
+	global macports::autoconf::macports_conf_path macports::autoconf::rsync_path
 	array set options $optionslist
 	
 	if { [info exists options(ports_force)] && $options(ports_force) == "yes" } {
@@ -1465,7 +1465,7 @@
 		return -code error "Couldn't sync the ports tree: $result"
 	}
 
-	set mp_base_path [file join $portdbpath sources ${rsync_server}_${rsync_dir}/]
+	set mp_base_path [file join $portdbpath sources ${rsync_server} ${rsync_dir}/]
 	if {![file exists $mp_base_path]} {
 		file mkdir $mp_base_path
 	}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070514/c4f2c48c/attachment.html


More information about the macports-changes mailing list