Fix scons compile after last commit ( unwanted new line )

This commit is contained in:
jens verwiebe 2013-11-29 17:04:29 +01:00
parent 5f2400414a
commit 3bf77c34eb
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ def buildinfo(lenv, build_type):
process = subprocess.Popen(['git', 'rev-parse', '--short', '@{u}'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
build_hash, stderr = process.communicate()
build_hash = build_hash.replace('\n', '')
build_branch = os.popen('git rev-parse --abbrev-ref HEAD').read().strip()
if build_hash == '':