aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/build.rb
diff options
context:
space:
mode:
authorJack Nagel2013-03-13 02:07:01 -0500
committerJack Nagel2013-03-16 13:05:02 -0500
commita55fa2c359f7e05ebabbf24b1d75fe206f88ac9c (patch)
treebad583e12f86ccd096bd5ea1d8471c135a508260 /Library/Homebrew/build.rb
parentf8b4959742393499dda5bb48fd55ba107433b381 (diff)
downloadbrew-a55fa2c359f7e05ebabbf24b1d75fe206f88ac9c.tar.bz2
Decouple CompilerSelector from ENV
Diffstat (limited to 'Library/Homebrew/build.rb')
-rwxr-xr-xLibrary/Homebrew/build.rb2
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'