Don't throw if no gcc 4.0 installed

This commit is contained in:
Max Howell 2011-01-16 12:44:52 +00:00 committed by Adam Vandenberg
parent 00e654a8b7
commit e9aa22be8f

View File

@ -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