another small .de update
[ardour.git] / wscript
diff --git a/wscript b/wscript
index 9ffeebd75ec4c0bb9128943faeb87d679c44e582..c30e3f8457a29240e9eea897e2568f0e10dce379 100644 (file)
--- a/wscript
+++ b/wscript
@@ -128,7 +128,7 @@ clang_darwin_dict['full-optimization'] = [ '-O3', '-ffast-math', '-fstrength-red
 compiler_flags_dictionaries['clang-darwin'] = clang_darwin_dict;
 
 def fetch_git_revision ():
-    cmd = "git describe HEAD"
+    cmd = "git describe HEAD | sed 's/^[A-Za-z]*+//'"
     output = subprocess.Popen(cmd, shell=True, stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0].splitlines()
     rev = output[0].decode ('utf-8')
     return rev