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

jmr at macports.org jmr at macports.org
Sun Feb 19 06:26:05 PST 2012


Revision: 89999
          http://trac.macports.org/changeset/89999
Author:   jmr at macports.org
Date:     2012-02-19 06:26:04 -0800 (Sun, 19 Feb 2012)
Log Message:
-----------
fix syntax

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 14:18:25 UTC (rev 89998)
+++ trunk/base/src/macports1.0/macports.tcl	2012-02-19 14:26:04 UTC (rev 89999)
@@ -440,7 +440,7 @@
         # Ask mdfind where Xcode is and make some suggestions for the user
         set installed_xcodes {}
         if {![catch {binaryInPath mdfind} mdfind]} {
-            set installed_xcodes [exec $mdfind \"kMDItemCFBundleIdentifier == 'com.apple.dt.Xcode'\"]
+            set installed_xcodes [exec $mdfind "kMDItemCFBundleIdentifier == 'com.apple.dt.Xcode'"]
         }
         if {[llength $installed_xcodes] > 0} {
             # One, or more than one, Xcode installations found
@@ -449,7 +449,7 @@
             ui_error
             ui_error "Please use xcode-select to select an Xcode installation:"
             foreach xcode $installed_xcodes {
-                ui_error "    sudo xcode-select -switch ${xcode}/Contents/Developer"
+                ui_error "    sudo xcode-select -switch ${xcode}"
             }
             ui_error
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120219/1aa21125/attachment-0001.html>


More information about the macports-changes mailing list