[Xfce4-commits] <midori:master> Strip whitespace and line breaks off git version string
Christian Dywan
noreply at xfce.org
Sat Aug 7 15:50:01 CEST 2010
Updating branch refs/heads/master
to aac70d52b5c4e83148adecb1f91ad01202eae101 (commit)
from 0870196942343ce4c33034e47174b8bd65ee0e2b (commit)
commit aac70d52b5c4e83148adecb1f91ad01202eae101
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Aug 7 15:46:33 2010 +0200
Strip whitespace and line breaks off git version string
wscript | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/wscript b/wscript
index fe33161..e3c36ee 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
More information about the Xfce4-commits
mailing list