aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV/4.3
diff options
context:
space:
mode:
authorMax Howell2012-09-25 10:36:27 -0400
committerMax Howell2012-09-25 11:31:56 -0400
commitd0f707f893c4d8e07e07fa89362b626ffc8ed55e (patch)
treed5d1410bedf3239e209a27f96efad950a131ee6a /Library/ENV/4.3
parentd1be193cfeceec37f64d4e3a7bd45a5e49a941a8 (diff)
downloadbrew-d0f707f893c4d8e07e07fa89362b626ffc8ed55e.tar.bz2
Determine SUPERBIN correctly
Diffstat (limited to 'Library/ENV/4.3')
-rwxr-xr-xLibrary/ENV/4.3/xcrun1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/ENV/4.3/xcrun b/Library/ENV/4.3/xcrun
index 2c6625f83..a5a004ff1 100755
--- a/Library/ENV/4.3/xcrun
+++ b/Library/ENV/4.3/xcrun
@@ -7,6 +7,7 @@
ENV['HOMEBREW_LOG'] = nil
require "#{File.dirname __FILE__}/../libsuperenv"
+SUPERBIN = __FILE__.dirname.cleanpath.freeze
exec "/usr/bin/xcrun", *ARGV if ARGV.empty? or ARGV[0][0..0] == '-'
exec "/usr/bin/#{ARGV.shift}", *ARGV unless ENV['HOMEBREW_SDKROOT'].directory?