fixed parsing error for git hash injection to version parameter #bugfix

This commit is contained in:
pyr0ball 2020-06-15 11:31:21 -07:00
parent 62e6caf83f
commit 111d7cffe4

View file

@ -4,4 +4,6 @@ major_version = "2.3.1"
git_head = str(subprocess.check_output(["git", "rev-parse", "HEAD"])[0:6])
git_head = git_head.replace("b'", "'")
print("-DPP_VERSION=\\\"" + major_version + "_" + git_head + "\\\"")