aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]install2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index db01d6e6f..1656f466b 100644..100755
--- 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