]> spindle.queued.net Git - midori/commitdiff
Strip whitespace and line breaks off git version string
authorChristian Dywan <christian@twotoasts.de>
Sat, 7 Aug 2010 13:46:33 +0000 (15:46 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 7 Aug 2010 13:46:33 +0000 (15:46 +0200)
wscript

diff --git a/wscript b/wscript
index fe33161216ec381f3e56a894f34231d713a48773..e3c36ee135a69d68ae80cb61151d3424eeefbc3e 100644 (file)
--- a/wscript
+++ b/wscript
@@ -37,7 +37,7 @@ VERSION = str (major) + '.' + str (minor) + '.' + str (micro)
 try:
     git = Utils.cmd_output (['git', 'describe'], silent=True)
     if git:
-        VERSION = git
+        VERSION = git.strip ()
 except:
     pass