Fix type checking in fails_with_llvm

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Rory O'Connell 2011-08-31 15:30:13 -05:00 committed by Adam Vandenberg
parent 69e766a699
commit 9520b6cc3c

View File

@ -227,7 +227,7 @@ class Formula
llvm = self.class.fails_with_llvm_reason
if llvm
if llvm.build
MacOS.llvm_build_version <= llvm.build
MacOS.llvm_build_version <= llvm.build.to_i
else
true
end