[90007] trunk/base/src/macports1.0/macports.tcl
jberry at macports.org
jberry at macports.org
Sun Feb 19 09:41:14 PST 2012
Revision: 90007
http://trac.macports.org/changeset/90007
Author: jberry at macports.org
Date: 2012-02-19 09:41:14 -0800 (Sun, 19 Feb 2012)
Log Message:
-----------
set_developer_dir actually does have to set developer_dir
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2012-02-19 17:38:10 UTC (rev 90006)
+++ trunk/base/src/macports1.0/macports.tcl 2012-02-19 17:41:14 UTC (rev 90007)
@@ -433,7 +433,8 @@
# If the directory is valid, use it
if {[_is_valid_developer_dir $devdir]} {
- return $devdir
+ set macports::developer_dir $devdir
+ return
}
# The directory from xcode-select isn't correct.
@@ -464,8 +465,8 @@
if {![_is_valid_developer_dir $devdir]} {
ui_error "No valid Xcode installation was found. Please install or correctly select Xcode using xcode-select."
}
-
- return $devdir
+
+ set macports::developer_dir $devdir
}
proc macports::_is_valid_developer_dir {dir} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120219/cec930e5/attachment.html>
More information about the macports-changes
mailing list