[91349] trunk/base/src/macports1.0/macports.tcl

jmr at macports.org jmr at macports.org
Fri Mar 30 08:49:18 PDT 2012


Revision: 91349
          https://trac.macports.org/changeset/91349
Author:   jmr at macports.org
Date:     2012-03-30 08:49:18 -0700 (Fri, 30 Mar 2012)
Log Message:
-----------
use full path in xcode-select command to accomodate old versions (#33398)

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-03-30 15:22:30 UTC (rev 91348)
+++ trunk/base/src/macports1.0/macports.tcl	2012-03-30 15:49:18 UTC (rev 91349)
@@ -469,7 +469,7 @@
                 set vers [exec $mdls -raw -name kMDItemVersion $xcode]
                 if {$vers == "(null)"} { set vers "unknown" }
                 if {[vercmp $vers 4.3] >= 0 || [_is_valid_developer_dir "${xcode}/Contents/Developer"]} {
-                    ui_error "    sudo xcode-select -switch ${xcode} # version ${vers}"
+                    ui_error "    sudo xcode-select -switch ${xcode}/Contents/Developer # version ${vers}"
                 } elseif {[_is_valid_developer_dir "${xcode}/../.."]} {
                     ui_error "    sudo xcode-select -switch [file normalize ${xcode}/../..] # version ${vers}"
                 } else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120330/a31a6997/attachment.html>


More information about the macports-changes mailing list