From 90c696ea6714c4aad1a279e4e77b6811c08f0847 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 8 Nov 2013 09:54:14 +0000 Subject: [PATCH] xcode: fix nil outdated comparison. --- Library/Homebrew/os/mac/xcode.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 38e77203cf..03467b98a5 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -197,6 +197,7 @@ module OS def outdated? version = `/usr/bin/clang --version`[%r{clang-(\d+\.\d+\.\d+)}, 1] + return true unless version version < latest_version end