tasn pushed a commit to branch master.
commit bcdb12509fb74c33207e04467cde0403663b3841
Author: Tom Hacohen <[email protected]>
Date: Fri Mar 1 17:03:25 2013 +0000
Fix revision fetching when not using git.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index d0b2261..c1106e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@
m4_define([v_maj], [0])
m4_define([v_min], [17])
m4_define([v_mic], [99])
-m4_define([v_rev], m4_esyscmd([git rev-list --count HEAD | tr -d '\n']))dnl
+m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo
0) | tr -d '\n']))dnl
##-- When released, remove the dnl on the below line
dnl m4_undefine([v_rev])
m4_define([relname], [0.17.99])
--
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb