[47105] trunk/base/src/port1.0/portextract.tcl

blb at macports.org blb at macports.org
Sat Feb 21 19:51:02 PST 2009


Revision: 47105
          http://trac.macports.org/changeset/47105
Author:   blb at macports.org
Date:     2009-02-21 19:51:02 -0800 (Sat, 21 Feb 2009)
Log Message:
-----------
port1.0/portextract.tcl - make sure to chown the extraction path, not the
worksrcpath, as the latter can be changed (and not exist yet) by the port;
ticket #18587

Modified Paths:
--------------
    trunk/base/src/port1.0/portextract.tcl

Modified: trunk/base/src/port1.0/portextract.tcl
===================================================================
--- trunk/base/src/port1.0/portextract.tcl	2009-02-22 03:48:30 UTC (rev 47104)
+++ trunk/base/src/port1.0/portextract.tcl	2009-02-22 03:51:02 UTC (rev 47105)
@@ -98,7 +98,7 @@
 }
 
 proc extract_main {args} {
-    global UI_PREFIX filespath worksrcpath
+    global UI_PREFIX filespath worksrcpath extract.dir
 
     if {![exists distfiles] && ![exists extract.only]} {
         # nothing to do
@@ -117,7 +117,7 @@
         }
 	
 	# start gsoc08-privileges
-	chownAsRoot $worksrcpath
+	chownAsRoot ${extract.dir}
 	# end gsoc08-privileges
 	
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090221/2b808529/attachment.html>


More information about the macports-changes mailing list