summaryrefslogtreecommitdiff
path: root/legacy/efreet/configure.ac
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-06-04 01:04:24 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-06-04 01:04:24 +0000
commita4769c42cbeb88ac0f520375e8f0571d3711f9fb (patch)
tree2422a7aff03671efa0699061245c6103233e6ec0 /legacy/efreet/configure.ac
parent3a5502362e44e78a32b56d4289dc414b42bfe6ad (diff)
change svnversion shell goop to nuke sed and just use tr to delete
unwanted goop. SVN revision: 49429
Diffstat (limited to 'legacy/efreet/configure.ac')
-rw-r--r--legacy/efreet/configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/legacy/efreet/configure.ac b/legacy/efreet/configure.ac
index c14cfa84b7..be40207df1 100644
--- a/legacy/efreet/configure.ac
+++ b/legacy/efreet/configure.ac
@@ -3,9 +3,8 @@
3m4_define([v_maj], [0]) 3m4_define([v_maj], [0])
4m4_define([v_min], [5]) 4m4_define([v_min], [5])
5m4_define([v_mic], [0]) 5m4_define([v_mic], [0])
6m4_define([v_rev], m4_esyscmd([(svnversion . | grep -v exported || echo 0) | awk -F : '{printf("%s", $1);}' | tr 'A-z' ' ' | sed 's/ //g'])) 6m4_define([v_rev], m4_esyscmd([(svnversion . | grep -v exported || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
7m4_if(v_rev, [0], [m4_define([v_rev], 7m4_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']))])
8m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
9##-- When released, remove the dnl on the below line 8##-- When released, remove the dnl on the below line
10dnl m4_undefine([v_rev]) 9dnl m4_undefine([v_rev])
11##-- When doing snapshots - change soname. remove dnl on below line 10##-- When doing snapshots - change soname. remove dnl on below line