From f61051af9118ffb67679b8f5634b318194cdbd88 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 19 Nov 2010 14:15:55 -0600 Subject: [PATCH] silly git needs old-school format param to remain back-compat --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 944511dac9..aeb31eca01 100644 --- a/Makefile.am +++ b/Makefile.am @@ -374,7 +374,7 @@ src/include/switch_version.h: src/include/switch_version.h.in .version $(libfree touch .version ; \ else \ if [ -d .git ] ; then \ - version=`git log --format="%h %ci" -1 HEAD | head -1 | sed -e 's|:|-|g' || echo hacked` ; \ + version=`git log --pretty=format:"%h %ci" -1 HEAD | head -1 | sed -e 's|:|-|g' || echo hacked` ; \ if [ "x$$version" = "xhacked" ] ; then \ version="hacked-`date -u +%Y%m%dT%H%M%SZ`" ; \ else \