aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
diff options
context:
space:
mode:
authorJack Nagel2014-04-21 11:03:42 -0500
committerJack Nagel2014-04-21 11:05:30 -0500
commit7fa9c6c8dfcd3dd5f3fd136fa8f1feec97e9abcb (patch)
tree1be1063a8ce8a43c354f3f4ddab3b28258e95352 /Library/ENV
parent9664ed4c30f08a7dc3b200d2bfa72e097f1c2729 (diff)
downloadhomebrew-7fa9c6c8dfcd3dd5f3fd136fa8f1feec97e9abcb.tar.bz2
Print the attempted command when xcrun wrapper fails
Diffstat (limited to 'Library/ENV')
-rwxr-xr-xLibrary/ENV/4.3/xcrun8
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/ENV/4.3/xcrun b/Library/ENV/4.3/xcrun
index fbbfa3b57..fe4f276a7 100755
--- a/Library/ENV/4.3/xcrun
+++ b/Library/ENV/4.3/xcrun
@@ -37,7 +37,9 @@ try `/usr/bin/xcrun --find #{arg0} 2>/dev/null`.chomp
ENV["PATH"].split(File::PATH_SEPARATOR).each { |p| try File.join(p, arg0) }
abort <<-EOS
-Your Xcode and or CLT are mis-configured. Try some or all of the following:
- xcodebuild -license
- sudo xcode-select -switch /path/to/Xcode.app
+Failed to execute: #{arg0} #{ARGV.join(" ")}
+
+Xcode and/or the CLT appear to be misconfigured. Try one or both of the following:
+ xcodebuild -license
+ sudo xcode-select -switch /path/to/Xcode.app
EOS