Message info
 
To:macports-changes@lists.macosforge.org From:jmr@macports.org Subject:[91349] trunk/base/src/macports1.0/macports.tcl Date:Fri, 30 Mar 2012 08:49:18 -0700 (PDT)
 

Revision
91349
Author
jmr@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

Diff

Modified: trunk/base/src/macports1.0/macports.tcl (91348 => 91349)


--- 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 {