diff options
author | Tom Hacohen <tom@stosb.com> | 2013-03-01 17:02:10 +0000 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2013-03-01 17:02:10 +0000 |
commit | bc1ec328d35b66abee18652a1e83e5e6ec77abbd (patch) | |
tree | 056848ec9e3a6195eae37146a21dc7a353447426 /m4 | |
parent | b8cee23050f12d15a271575115b251bedf545ace (diff) | |
download | efl-bc1ec328d35b66abee18652a1e83e5e6ec77abbd.tar.gz |
Fix revision fetching when not using git.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/efl.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ AC_DEFUN([EFL_VERSION], m4_define([v_maj], [$1])dnl m4_define([v_min], [$2])dnl m4_define([v_mic], [$3])dnl -m4_define([dev_version], m4_esyscmd([git rev-list --count HEAD | tr -d '\n']))dnl +m4_define([dev_version], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 0) | tr -d '\n']))dnl m4_define([v_rev], m4_if($4, dev, [dev_version], [0]))dnl m4_define([v_rel], m4_if($4, dev, [], m4_ifblank($4, [], [-release $4])))dnl m4_define([def_build_profile], m4_if($4, dev, [dev], [release]))dnl |