Determine SUPERBIN correctly
This commit is contained in:
parent
d1be193cfe
commit
d0f707f893
@ -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?
|
||||
|
||||
@ -42,4 +42,3 @@ end if ENV['HOMEBREW_LOG']
|
||||
|
||||
$brewfix = "#{__FILE__}/../../../".cleanpath.freeze
|
||||
$sdkroot = ENV['HOMEBREW_SDKROOT'].freeze
|
||||
SUPERBIN = __FILE__.dirname.cleanpath.freeze
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user