aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-11-08 09:54:14 +0000
committerMike McQuaid2013-11-08 09:54:25 +0000
commit90c696ea6714c4aad1a279e4e77b6811c08f0847 (patch)
treeb98a3be4f8fc5fcfb8649ecd745e7e5dcd0e18cb /Library
parent8aa42e5bf14471f134363a9bdfc43e6cf2138cb8 (diff)
downloadbrew-90c696ea6714c4aad1a279e4e77b6811c08f0847.tar.bz2
xcode: fix nil outdated comparison.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/mac/xcode.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index 38e77203c..03467b98a 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