[89213] trunk/base/src/port1.0/portutil.tcl
and.damore at macports.org
and.damore at macports.org
Sat Jan 21 03:28:48 PST 2012
Revision: 89213
http://trac.macports.org/changeset/89213
Author: and.damore at macports.org
Date: 2012-01-21 03:28:45 -0800 (Sat, 21 Jan 2012)
Log Message:
-----------
base: moving worksymlink creation out of the workpath creation block, this provides a symlink in portpath when using subports
Modified Paths:
--------------
trunk/base/src/port1.0/portutil.tcl
Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl 2012-01-21 10:16:55 UTC (rev 89212)
+++ trunk/base/src/port1.0/portutil.tcl 2012-01-21 11:28:45 UTC (rev 89213)
@@ -1597,13 +1597,14 @@
if {![file isdirectory $workpath] && ![tbool ports_dryrun]} {
file mkdir $workpath
chownAsRoot $subbuildpath
- # Create a symlink to the workpath for port authors
- if {[tbool place_worksymlink] && ![file isdirectory $worksymlink]} {
- ui_debug "Attempting ln -sf $workpath $worksymlink"
- ln -sf $workpath $worksymlink
- }
}
+ # Create a symlink to the workpath for port authors
+ if {[tbool place_worksymlink] && ![file isdirectory $worksymlink]} {
+ ui_debug "Attempting ln -sf $workpath $worksymlink"
+ ln -sf $workpath $worksymlink
+ }
+
# de-escalate privileges if MacPorts was started with sudo
dropPrivileges
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120121/3b12e87d/attachment.html>
More information about the macports-changes
mailing list