Strip whitespace and line breaks off git version string
This commit is contained in:
parent
0870196942
commit
aac70d52b5
1 changed files with 1 additions and 1 deletions
2
wscript
2
wscript
|
@ -37,7 +37,7 @@ VERSION = str (major) + '.' + str (minor) + '.' + str (micro)
|
||||||
try:
|
try:
|
||||||
git = Utils.cmd_output (['git', 'describe'], silent=True)
|
git = Utils.cmd_output (['git', 'describe'], silent=True)
|
||||||
if git:
|
if git:
|
||||||
VERSION = git
|
VERSION = git.strip ()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue