From: Christian Dywan Date: Sat, 7 Aug 2010 13:46:33 +0000 (+0200) Subject: Strip whitespace and line breaks off git version string X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aac70d52b5c4e83148adecb1f91ad01202eae101;p=midori Strip whitespace and line breaks off git version string --- diff --git a/wscript b/wscript index fe331612..e3c36ee1 100644 --- 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