From 29873fe5e1426aea4247b3146ca8fc5c017ec480 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Wed, 4 Mar 2015 12:57:02 +0100 Subject: [PATCH] Fix GITLOG command --- coreapi/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/Makefile.am b/coreapi/Makefile.am index 116530afa..7f9d0027b 100644 --- a/coreapi/Makefile.am +++ b/coreapi/Makefile.am @@ -9,7 +9,7 @@ GITREVISION=`cd $(top_srcdir) && git rev-parse HEAD` ## We can't only depend on the presence of the .git/ directory anymore, ## because of gits submodule handling. ## We now simply issue a git log on configure.ac and if the output is empty (error or file not tracked), then we are not in git. -GITLOG=$(shell git log -1 --pretty=format:%H $(top_srcdir)/configure.ac) +GITLOG=`cd $(top_srcdir) && git log -1 --pretty=format:%H configure.ac` ECHO=/bin/echo