> Revision: 110021 > https://trac.macports.org/changeset/110021 > Author: cal at macports.org > Date: 2013-08-24 12:38:25 -0700 (Sat, 24 Aug 2013) > Log Message: > ----------- > port1.0: prevent failures in trace mode when "." is not stat(2)able. > > Modified Paths: > -------------- > trunk/base/src/port1.0/portutil.tcl > > Modified: trunk/base/src/port1.0/portutil.tcl > =================================================================== > --- trunk/base/src/port1.0/portutil.tcl 2013-08-24 18:24:59 UTC (rev > 110020) > +++ trunk/base/src/port1.0/portutil.tcl 2013-08-24 19:38:25 UTC (rev > 110021) > @@ -1353,6 +1353,11 @@ > > # otherwise execute the task. > if {$skipped == 0} { > + # cd somewhere readable in tracemode to avoid error, e.g. > with > + # find. Make sure to use a path that also exists when > executing > + # Portfiles from registry, i.e., _not_ $workpath. > + set oldpwd [pwd] > + _cd $portdbpath > # change current phase shown in log > set_phase $target > > @@ -1496,6 +1501,7 @@ > # End of trace. > porttrace::trace_stop > } > + _cd $oldpwd > } > }
I'm getting failures to execute the portfile from the registry when uninstalling ports after this change. - Josh _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
