diff options
| author | Jack Nagel | 2013-03-13 02:07:01 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-03-16 13:05:02 -0500 |
| commit | a55fa2c359f7e05ebabbf24b1d75fe206f88ac9c (patch) | |
| tree | bad583e12f86ccd096bd5ea1d8471c135a508260 /Library/Homebrew/build.rb | |
| parent | f8b4959742393499dda5bb48fd55ba107433b381 (diff) | |
| download | brew-a55fa2c359f7e05ebabbf24b1d75fe206f88ac9c.tar.bz2 | |
Decouple CompilerSelector from ENV
Diffstat (limited to 'Library/Homebrew/build.rb')
| -rwxr-xr-x | Library/Homebrew/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 8d7d553ec..88a216dc2 100755 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -114,7 +114,7 @@ def install f end end - CompilerSelector.new(f).select_compiler if f.fails_with? ENV.compiler + ENV.send(CompilerSelector.new(f).compiler) if f.fails_with? ENV.compiler f.brew do if ARGV.flag? '--git' |
