From cf23fd2e1478f9f968e98ec3bb3fe18bcffeb52e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 29 Apr 2014 21:51:18 -0500 Subject: [PATCH] xcrun wrapper: rephrase comments --- Library/ENV/4.3/xcrun | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/ENV/4.3/xcrun b/Library/ENV/4.3/xcrun index 8cf29a2b2a..a4d2beacfc 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] == "-"