[41143] branches/variant-descs-14482/base/src/port1.0/portdestroot.tcl

raimue at macports.org raimue at macports.org
Sat Oct 25 14:12:04 PDT 2008


Revision: 41143
          http://trac.macports.org/changeset/41143
Author:   raimue at macports.org
Date:     2008-10-25 14:12:04 -0700 (Sat, 25 Oct 2008)
Log Message:
-----------
port1.0/portdestroot.tcl:
Use getportresourcepath

Modified Paths:
--------------
    branches/variant-descs-14482/base/src/port1.0/portdestroot.tcl

Modified: branches/variant-descs-14482/base/src/port1.0/portdestroot.tcl
===================================================================
--- branches/variant-descs-14482/base/src/port1.0/portdestroot.tcl	2008-10-25 21:11:30 UTC (rev 41142)
+++ branches/variant-descs-14482/base/src/port1.0/portdestroot.tcl	2008-10-25 21:12:04 UTC (rev 41143)
@@ -86,7 +86,7 @@
 }
 
 proc destroot_start {args} {
-    global UI_PREFIX prefix portname destroot portresourcepath os.platform destroot.clean
+    global UI_PREFIX prefix portname porturl destroot os.platform destroot.clean
     global destroot::oldmask destroot.umask
     
     ui_msg "$UI_PREFIX [format [msgcat::mc "Staging %s into destroot"] ${portname}]"
@@ -100,10 +100,10 @@
     
     file mkdir "${destroot}"
     if { ${os.platform} == "darwin" } {
-        system "cd \"${destroot}\" && ${mtree} -e -U -f ${portresourcepath}/install/macosx.mtree"
+        system "cd \"${destroot}\" && ${mtree} -e -U -f [getportresourcepath $porturl port1.0/install/macosx.mtree]"
     }
     file mkdir "${destroot}/${prefix}"
-    system "cd \"${destroot}/${prefix}\" && ${mtree} -e -U -f ${portresourcepath}/install/prefix.mtree"
+    system "cd \"${destroot}/${prefix}\" && ${mtree} -e -U -f [getportresourcepath $porturl port1.0/install/prefix.mtree]"
 }
 
 proc destroot_main {args} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081025/03ee7bda/attachment.html>


More information about the macports-changes mailing list