Fix to support git worktree.

* Makefile.am: Use -e for testing .git.

--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

(backport commit of 96237b9a63)
This commit is contained in:
NIIBE Yutaka 2016-01-13 17:22:37 +09:00
parent b508af2b2c
commit baae8d50d7
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,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 \