[vlc-devel] commit: fix revision.c ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jun 22 16:27:30 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jun 22 17:29:12 2008 +0300| [b185143182ec88ffaf77fc0620cbd56664d8a21f]

fix revision.c

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b185143182ec88ffaf77fc0620cbd56664d8a21f
---

 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index f3bc01d..33f18d9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -418,7 +418,7 @@ SOURCES_libvlc_control = \
 misc/revision.c:
 	rm -f $@ $@.tmp
 	echo "/* AUTOGENERATED FILE - DO NOT EDIT */" > $@.tmp
-	REVISION="$$(LANG=C git --git-dir=$(top_srcdir)/.git show-ref -s HEAD 2>/dev/null || echo exported)"; \
+	REVISION="$$(LANG=C git --git-dir=$(top_srcdir)/.git show-ref --head -s HEAD 2>/dev/null || echo exported)"; \
 	REVISION="$$(echo $$REVISION|cut -b -10)"; \
 	echo "const char psz_vlc_changeset[] = \"$$REVISION\";" >> $@.tmp
 	mv -f $@.tmp $@




More information about the vlc-devel mailing list