summaryrefslogtreecommitdiff
path: root/legacy/embryo
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2011-12-13 08:55:40 +0000
committerTom Hacohen <tom@stosb.com>2011-12-13 08:55:40 +0000
commit16d158be32fdfd341287f5337cf2aaebcff263dc (patch)
tree30478cfa4888506cc7402cc8fb6d65eeb91724c9 /legacy/embryo
parentd7a675766edf20112f3ff24f47f2d7fe2af9a107 (diff)
embryo: Fixed svn detection for svn1.7
SVN revision: 66150
Diffstat (limited to 'legacy/embryo')
-rw-r--r--legacy/embryo/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/embryo/configure.ac b/legacy/embryo/configure.ac
index fe1a313e03..61c50b850f 100644
--- a/legacy/embryo/configure.ac
+++ b/legacy/embryo/configure.ac
@@ -3,7 +3,7 @@
3m4_define([v_maj], [1]) 3m4_define([v_maj], [1])
4m4_define([v_min], [1]) 4m4_define([v_min], [1])
5m4_define([v_mic], [99]) 5m4_define([v_mic], [99])
6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) 6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
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']))]) 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']))])
8##-- When released, remove the dnl on the below line 8##-- When released, remove the dnl on the below line
9dnl m4_undefine([v_rev]) 9dnl m4_undefine([v_rev])