From 114cf40df991713ba5e47a14ba42f326eafdc0ec Mon Sep 17 00:00:00 2001 From: tasn Date: Tue, 13 Dec 2011 08:54:44 +0000 Subject: [PATCH] eet: Fixed svn detection for svn1.7 git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@66148 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d92fdea..220e2a1 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ y##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## m4_define([v_maj], [1]) m4_define([v_min], [5]) m4_define([v_mic], [99]) -m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) +m4_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'])) 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]) -- 2.7.4