From f29f9a42975a722c1a93dedc60b89ebf65344ed1 Mon Sep 17 00:00:00 2001 From: raster Date: Fri, 4 Jun 2010 01:04:24 +0000 Subject: [PATCH] change svnversion shell goop to nuke sed and just use tr to delete unwanted goop. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@49429 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 77ca345..152f689 100644 --- a/configure.ac +++ b/configure.ac @@ -3,9 +3,8 @@ m4_define([v_maj], [0]) m4_define([v_min], [5]) m4_define([v_mic], [0]) -m4_define([v_rev], m4_esyscmd([(svnversion . | grep -v exported || echo 0) | awk -F : '{printf("%s", $1);}' | tr 'A-z' ' ' | sed 's/ //g'])) -m4_if(v_rev, [0], [m4_define([v_rev], -m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))]) +m4_define([v_rev], m4_esyscmd([(svnversion . | grep -v exported || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) +m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))]) ##-- When released, remove the dnl on the below line dnl m4_undefine([v_rev]) ##-- When doing snapshots - change soname. remove dnl on below line -- 2.7.4