From 8b59a2f6b674cf0ae04fef2e3a8e29bbaa8e6bd3 Mon Sep 17 00:00:00 2001 From: Tom Ritchford Date: Fri, 8 Aug 2014 14:28:44 -0400 Subject: [PATCH] Add the git tag to the compile (RIPD-238) --- site_scons/Beast.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/site_scons/Beast.py b/site_scons/Beast.py index 0b096d402..63669010e 100644 --- a/site_scons/Beast.py +++ b/site_scons/Beast.py @@ -79,7 +79,10 @@ class Git(object): def __init__(self, env): self.exists = env.Detect('git') if self.exists: - self.commit_id = _execute('git describe --tags') + try: + self.commit_id = _execute('git describe --tags') + except: + self.exists = False else: self.commit_id = None