aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-04-29 21:51:18 -0500
committerJack Nagel2014-04-29 21:51:18 -0500
commit637805eed563da9f7dac26f7f3887adc2add76c7 (patch)
treee90681038fdf7485f7c3d74fee1dd31cb6299784
parent80073d22224df8f6e06a12a854df776634a387c6 (diff)
downloadhomebrew-637805eed563da9f7dac26f7f3887adc2add76c7.tar.bz2
xcrun wrapper: rephrase comments
-rwxr-xr-xLibrary/ENV/4.3/xcrun8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/ENV/4.3/xcrun b/Library/ENV/4.3/xcrun
index 8cf29a2b2..a4d2beacf 100755
--- a/Library/ENV/4.3/xcrun
+++ b/Library/ENV/4.3/xcrun
@@ -1,10 +1,10 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0
-# This wrapper because 4.3 xcrun doesn't work with CLT-only configurations
-# But many build-systems expect it to work. This fixes that.
-# NOTE only works if the build-tool calls xcrun without a path prefixed!
+# Historically, xcrun has had various bugs, and in some cases it didn't
+# work at all (e.g. CLT-only in the Xcode 4.3 era). This script emulates
+# it and attempts to avoid these issues.
-# Some build tools are stupid and still set DEVELOPER_DIR to old /Developer
+# Some build tools set DEVELOPER_DIR, so discard it
ENV.delete "DEVELOPER_DIR"
if ARGV.empty? || ARGV[0][0..0] == "-"