From c72748508bf8c9f8ce189f834d3c3114ef27952d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 23 Sep 2013 13:33:28 -0400 Subject: [PATCH] the output of git describe --tags is not subject to localization, so we do not need LANG= in the environment when it runs --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index b3902c1b49..fded3e1652 100644 --- a/wscript +++ b/wscript @@ -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