diff options
| author | Max Howell | 2012-09-25 10:36:27 -0400 |
|---|---|---|
| committer | Max Howell | 2012-09-25 11:31:56 -0400 |
| commit | d0f707f893c4d8e07e07fa89362b626ffc8ed55e (patch) | |
| tree | d5d1410bedf3239e209a27f96efad950a131ee6a /Library/ENV/4.3 | |
| parent | d1be193cfeceec37f64d4e3a7bd45a5e49a941a8 (diff) | |
| download | brew-d0f707f893c4d8e07e07fa89362b626ffc8ed55e.tar.bz2 | |
Determine SUPERBIN correctly
Diffstat (limited to 'Library/ENV/4.3')
| -rwxr-xr-x | Library/ENV/4.3/xcrun | 1 |
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? |
