aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/build.rb
diff options
context:
space:
mode:
authorJack Nagel2013-04-01 12:56:56 -0500
committerJack Nagel2013-04-02 13:19:04 -0500
commit725704f7fb3bf86bbdb2341b48ba1c8045d0f664 (patch)
tree56dca3ac1b645a0094394dfdb35150b19f7449c1 /Library/Homebrew/build.rb
parente4cbfe11ec7fd646f231ed6418f7f06d55e21b0a (diff)
downloadhomebrew-725704f7fb3bf86bbdb2341b48ba1c8045d0f664.tar.bz2
Isolate compiler selector tests
Diffstat (limited to 'Library/Homebrew/build.rb')
-rwxr-xr-xLibrary/Homebrew/build.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb
index 88a216dc2..0f76c55d5 100755
--- a/Library/Homebrew/build.rb
+++ b/Library/Homebrew/build.rb
@@ -114,7 +114,9 @@ def install f
end
end
- ENV.send(CompilerSelector.new(f).compiler) if f.fails_with? ENV.compiler
+ if f.fails_with? ENV.compiler
+ ENV.send CompilerSelector.new(f, ENV.compiler).compiler
+ end
f.brew do
if ARGV.flag? '--git'