From e26706700f6f339891cce924e2a401dfbdba1a0e Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 13 Jan 2016 17:22:37 +0900 Subject: [PATCH] Fix to support git worktree. * Makefile.am: Use -e for testing .git. -- Signed-off-by: NIIBE Yutaka (backport commit of 96237b9a63a50aed1884cb06f84279b977d6a8fa) --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 5dca9bdb4..1c6311b60 100644 --- a/Makefile.am +++ b/Makefile.am @@ -82,7 +82,7 @@ gen_start_date = 2011-12-01T06:00:00 .PHONY: gen-ChangeLog gen-ChangeLog: set -e; \ - if test -d $(top_srcdir)/.git; then \ + if test -e $(top_srcdir)/.git; then \ (cd $(top_srcdir) && \ $(GITLOG_TO_CHANGELOG) --append-dot --tear-off \ --amend=scripts/git-log-fix \