0

fixed --version on 64-bit windows builds

This commit is contained in:
Andrew Chin
2012-02-19 21:39:03 -05:00
committed by Aaron Griffith
parent 3868728eb8
commit 9d18b0cacd

View File

@@ -62,7 +62,7 @@ def findGitHash():
def findGitVersion(): def findGitVersion():
try: try:
p = Popen(['git', 'describe', '--tags'], stdout=PIPE, stderr=PIPE) p = Popen(['git', 'describe', '--tags'], stdout=PIPE, stderr=PIPE, shell=True)
p.stderr.close() p.stderr.close()
line = p.stdout.readlines()[0] line = p.stdout.readlines()[0]
if line.startswith('release-'): if line.startswith('release-'):