From d11ff8ef2a1ec1cc513ae952aaefa40b6393976a Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 25 Oct 2013 22:07:58 +0100 Subject: Handle failing git regex. --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 install diff --git a/install b/install old mode 100644 new mode 100755 index db01d6e6f..1656f466b --- a/install +++ b/install @@ -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 -- cgit v1.2.3