aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compilers.rb
diff options
context:
space:
mode:
authorJack Nagel2013-12-03 22:16:37 -0600
committerJack Nagel2013-12-03 22:16:37 -0600
commit65a00e213b15b503375db43adee048ffabe0464a (patch)
tree0a2d29dfad50fea2a5f3c1852ba6336d843229b7 /Library/Homebrew/compilers.rb
parentfa5b633650953ed1378edf6f5e82d0c944a58bcf (diff)
downloadbrew-65a00e213b15b503375db43adee048ffabe0464a.tar.bz2
Make CompilerSelectionError an InstallationError
Fixes Homebrew/homebrew#19962.
Diffstat (limited to 'Library/Homebrew/compilers.rb')
-rw-r--r--Library/Homebrew/compilers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb
index 6f5b570b0..9561fc0fb 100644
--- a/Library/Homebrew/compilers.rb
+++ b/Library/Homebrew/compilers.rb
@@ -73,7 +73,7 @@ class CompilerSelector
end while @f.fails_with?(cc)
if cc.nil?
- raise CompilerSelectionError
+ raise CompilerSelectionError.new(@f)
else
cc.name
end