0

fixed --version on debian

This commit is contained in:
Aaron Griffith
2012-03-02 19:09:40 -05:00
parent 80c7b4fcdf
commit 3007099c44

View File

@@ -62,7 +62,7 @@ def findGitHash():
def findGitVersion(): def findGitVersion():
try: try:
p = Popen(['git', 'describe', '--tags'], stdout=PIPE, stderr=PIPE, shell=True) 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-'):