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
commit957528baf13b3d9e6cdef7f2430889fdedd883d2 (patch)
treeeb1807daa16d0e0f31e7ab706076531640ff2cf1 /Library
parent4f07c4d6b2aa36592c7dbd00faabf34ca062936a (diff)
downloadhomebrew-957528baf13b3d9e6cdef7f2430889fdedd883d2.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