summaryrefslogtreecommitdiff
path: root/distribution/lib/DistUtils.py
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/lib/DistUtils.py')
-rw-r--r--distribution/lib/DistUtils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/distribution/lib/DistUtils.py b/distribution/lib/DistUtils.py
index ed0ff14460a..2bad53191b5 100644
--- a/distribution/lib/DistUtils.py
+++ b/distribution/lib/DistUtils.py
@@ -108,7 +108,7 @@ def remove(path, recurse = True):
def checkGitVersion():
# Ensure we're using git >= 1.8.3
p = os.popen("git --version")
- gitVersionMatch = re.search(".* ([0-9]+)\.([0-9b]+)\.([\.0-9]*)", p.read())
+ gitVersionMatch = re.search(".* ([0-9]+)\.([0-9b]+)\.([0-9]+).*", p.read())
p.close()
version = (int(gitVersionMatch.group(1)) * 10000) + \