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

cal at macports.org cal at macports.org
Tue Mar 15 05:41:58 PDT 2016


Revision: 146677
          https://trac.macports.org/changeset/146677
Author:   cal at macports.org
Date:     2016-03-15 05:41:58 -0700 (Tue, 15 Mar 2016)
Log Message:
-----------
base: Fix test failure introduced by r146674

Revision Links:
--------------
    https://trac.macports.org/changeset/146674

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2016-03-15 12:38:32 UTC (rev 146676)
+++ trunk/base/src/macports1.0/macports.tcl	2016-03-15 12:41:58 UTC (rev 146677)
@@ -389,7 +389,7 @@
     trace remove variable macports::xcodebuildcmd read macports::setxcodeinfo
 
     try -pass_signal {
-        findBinary xcodebuild $macports::autoconf::xcodebuild_path
+        set xcodebuild [findBinary xcodebuild $macports::autoconf::xcodebuild_path]
         if {![info exists xcodeversion]} {
             # Determine xcode version
             set macports::xcodeversion 2.0orlower
@@ -450,7 +450,7 @@
 
     # Look for xcodeselect, and make sure it has a valid value
     try -pass_signal {
-        findBinary xcode-select $macports::autoconf::xcode_select_path
+        set xcodeselect [findBinary xcode-select $macports::autoconf::xcode_select_path]
 
         # We have xcode-select: ask it where xcode is and check if it's valid.
         # If no xcode is selected, xcode-select will fail, so catch that
@@ -469,7 +469,7 @@
         set installed_xcodes {}
 
         try -pass_signal {
-            findBinary mdfind $macports::autoconf::mdfind_path
+            set mdfind [findBinary mdfind $macports::autoconf::mdfind_path]
             set installed_xcodes [exec $mdfind "kMDItemCFBundleIdentifier == 'com.apple.Xcode' || kMDItemCFBundleIdentifier == 'com.apple.dt.Xcode'"]
         } catch {*} {}
 
@@ -490,7 +490,7 @@
                 error "No Xcode installation was found."
             }
 
-            findBinary mdls $macports::autoconf::mdls_path
+            set mdls [findBinary mdls $macports::autoconf::mdls_path]
 
             # One, or more than one, Xcode installations found
             ui_error "No valid Xcode installation is properly selected."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160315/dabf5dd3/attachment.html>


More information about the macports-changes mailing list