r4791 - trunk/varnish-cache/lib/libvarnish

tfheen at varnish-cache.org tfheen at varnish-cache.org
Fri May 14 11:50:02 CEST 2010


Author: tfheen
Date: 2010-05-14 11:50:01 +0200 (Fri, 14 May 2010)
New Revision: 4791

Modified:
   trunk/varnish-cache/lib/libvarnish/Makefile.am
Log:
Quieten git/svn/make a bit harder.


Modified: trunk/varnish-cache/lib/libvarnish/Makefile.am
===================================================================
--- trunk/varnish-cache/lib/libvarnish/Makefile.am	2010-05-10 19:57:57 UTC (rev 4790)
+++ trunk/varnish-cache/lib/libvarnish/Makefile.am	2010-05-14 09:50:01 UTC (rev 4791)
@@ -36,7 +36,7 @@
 
 DISTCLEANFILES = svn_version.c
 svn_version.c: FORCE
-	V="$$(git log -n 1 --pretty=format:%h 2>/dev/null || LANG=C svnversion -n $(top_srcdir))" \
+	V="$$(sh -c "git log -n 1 --pretty=format:%h" 2>/dev/null || LANG=C svnversion -n $(top_srcdir))" \
 	H="$$(head -n 1 svn_version.c 2>/dev/null || true)"; \
 	[ "$$V" = "exported" ] && [ -e svn_version.c ] && exit 0 ; \
 	if [ "/* $$V */" != "$$H" ]; then \




More information about the varnish-commit mailing list