aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2011-01-16 12:44:52 +0000
committerAdam Vandenberg2011-03-12 11:55:05 -0800
commite9aa22be8f401192ba9ad1a1b96e28733e4c0da2 (patch)
tree2ccdd8fae28fec6426c75cac55e9501de257ff9e /Library
parent00e654a8b7604d28951f2b5090cbffff93dacee0 (diff)
downloadbrew-e9aa22be8f401192ba9ad1a1b96e28733e4c0da2.tar.bz2
Don't throw if no gcc 4.0 installed
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/--config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/--config.rb b/Library/Homebrew/cmd/--config.rb
index 7a70df007..6913f65b8 100644
--- a/Library/Homebrew/cmd/--config.rb
+++ b/Library/Homebrew/cmd/--config.rb
@@ -31,7 +31,7 @@ module Homebrew extend self
end
def gcc_40_recommendation
- "(#{RECOMMENDED_GCC_40} or newer recommended)" if gcc_40.nil? and gcc_40 < RECOMMENDED_GCC_40
+ "(#{RECOMMENDED_GCC_40} or newer recommended)" if gcc_40 and gcc_40 < RECOMMENDED_GCC_40
end
def sha