diff options
| author | Mike McQuaid | 2013-10-25 22:07:58 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-25 22:07:58 +0100 |
| commit | d11ff8ef2a1ec1cc513ae952aaefa40b6393976a (patch) | |
| tree | 7c8e18d68644beb83ad1cd4c0b5b26ab726e67c8 | |
| parent | 3e7f9aebb997de4d1e54ecebd1448139a6d8939a (diff) | |
| download | homebrew-d11ff8ef2a1ec1cc513ae952aaefa40b6393976a.tar.bz2 | |
Handle failing git regex.
| -rwxr-xr-x[-rw-r--r--] | install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,7 +81,7 @@ def git # Github only supports HTTPS fetches on 1.7.10 or later: # https://help.github.com/articles/https-cloning-errors `#{@git} --version` =~ /git version (\d\.\d+\.\d+)/ - return if $1 < "1.7.10" + return if $1.nil? or $1 < "1.7.10" @git end |
