From e9aa22be8f401192ba9ad1a1b96e28733e4c0da2 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 16 Jan 2011 12:44:52 +0000 Subject: [PATCH] Don't throw if no gcc 4.0 installed --- Library/Homebrew/cmd/--config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/--config.rb b/Library/Homebrew/cmd/--config.rb index 7a70df007c..6913f65b80 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