13
0

the output of git describe --tags is not subject to localization, so we do not need LANG= in the environment when it runs

This commit is contained in:
Paul Davis 2013-09-23 13:33:28 -04:00
parent f1aa5839c0
commit c72748508b

View File

@ -67,7 +67,7 @@ def fetch_gcc_version (CC):
return version
def fetch_git_revision ():
cmd = "LANG= git describe --tags HEAD"
cmd = "git describe --tags HEAD"
output = subprocess.Popen(cmd, shell=True, stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0].splitlines()
rev = output[0].decode('utf-8')
return rev