Determine SUPERBIN correctly

This commit is contained in:
Max Howell 2012-09-25 10:36:27 -04:00
parent d1be193cfe
commit d0f707f893
2 changed files with 1 additions and 1 deletions

View File

@ -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?

View File

@ -42,4 +42,3 @@ end if ENV['HOMEBREW_LOG']
$brewfix = "#{__FILE__}/../../../".cleanpath.freeze
$sdkroot = ENV['HOMEBREW_SDKROOT'].freeze
SUPERBIN = __FILE__.dirname.cleanpath.freeze