bdilly pushed a commit to branch master.

http://git.enlightenment.org/games/etrophy.git/commit/?id=422fec37b4647e6cb8dd51bca4eeae45d958399e

commit 422fec37b4647e6cb8dd51bca4eeae45d958399e
Author: Bruno Dilly <bdi...@profusion.mobi>
Date:   Fri Oct 14 13:29:15 2016 -0300

    Stop using svnrevision
    
    Instead use git rev-list just like other e repos.
    With that we'll get rid of tons of
    "sh: 1: svnversion: not found"
    messages when building it.
---
 configure.ac | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 59da418..5793010 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,8 +3,7 @@
 m4_define([v_maj], [0])
 m4_define([v_min], [5])
 m4_define([v_mic], [1])
-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']))])
+m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 
0) | 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

-- 


Reply via email to