diff options
| author | Jack Nagel | 2013-10-22 20:47:37 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-10-22 20:47:37 -0500 |
| commit | df824a22a764538ab4a54f186a761d7fff90f7fd (patch) | |
| tree | 5f62bdbcab3a16b8d6d7ec6bd4e1d295a5835a36 /Library/Homebrew/utils.rb | |
| parent | 6030695bee5e62174c4895754e7f9ebf5613cae5 (diff) | |
| download | brew-df824a22a764538ab4a54f186a761d7fff90f7fd.tar.bz2 | |
Avoid comparing MacOS.version to floats
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index ca9aad542..f3ac5e447 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -138,7 +138,7 @@ def curl *args args = [HOMEBREW_CURL_ARGS, HOMEBREW_USER_AGENT, *args] # See https://github.com/mxcl/homebrew/issues/6103 - args << "--insecure" if MacOS.version < 10.6 + args << "--insecure" if MacOS.version < "10.6" args << "--verbose" if ENV['HOMEBREW_CURL_VERBOSE'] args << "--silent" unless $stdout.tty? |
