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 | |
| parent | d1be193cfeceec37f64d4e3a7bd45a5e49a941a8 (diff) | |
| download | brew-d0f707f893c4d8e07e07fa89362b626ffc8ed55e.tar.bz2 | |
Determine SUPERBIN correctly
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/ENV/4.3/xcrun | 1 | ||||
| -rw-r--r-- | Library/ENV/libsuperenv.rb | 1 |
2 files changed, 1 insertions, 1 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? diff --git a/Library/ENV/libsuperenv.rb b/Library/ENV/libsuperenv.rb index 8b38156c4..1a2de292b 100644 --- a/Library/ENV/libsuperenv.rb +++ b/Library/ENV/libsuperenv.rb @@ -42,4 +42,3 @@ end if ENV['HOMEBREW_LOG'] $brewfix = "#{__FILE__}/../../../".cleanpath.freeze $sdkroot = ENV['HOMEBREW_SDKROOT'].freeze -SUPERBIN = __FILE__.dirname.cleanpath.freeze |
