[69603] trunk/base/src/port1.0/portutil.tcl
jmr at macports.org
jmr at macports.org
Sat Jul 10 14:13:33 PDT 2010
Revision: 69603
http://trac.macports.org/changeset/69603
Author: jmr at macports.org
Date: 2010-07-10 14:13:33 -0700 (Sat, 10 Jul 2010)
Log Message:
-----------
chown stale workpath before discarding it, since the destroot is usually owned by root
Modified Paths:
--------------
trunk/base/src/port1.0/portutil.tcl
Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl 2010-07-10 21:03:43 UTC (rev 69602)
+++ trunk/base/src/port1.0/portutil.tcl 2010-07-10 21:13:33 UTC (rev 69603)
@@ -1563,6 +1563,7 @@
if {!([info exists ports_ignore_older] && $ports_ignore_older == "yes") && [file mtime $statefile] < [file mtime ${portpath}/Portfile]} {
if {![tbool ports_dryrun]} {
ui_msg "Portfile changed since last build; discarding previous state."
+ chownAsRoot $portbuildpath
delete $workpath
file mkdir $workpath
} else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100710/906fd206/attachment.html>
More information about the macports-changes
mailing list