From 1aebe99145e9ef612cdb272800904e3ba9297196 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 13 Apr 2016 11:12:15 -0700 Subject: Do not require that .git be a directory Problem reportyed by Phillip Lord. * admin/update_autogen, autogen.sh, build-aux/gitlog-to-emacslog: * configure.ac, make-dist: Do not require that .git be a directory, as 'git worktree' makes it a file and not a directory. --- make-dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make-dist') diff --git a/make-dist b/make-dist index 1cd1a50d75a..c0b0a0466f2 100755 --- a/make-dist +++ b/make-dist @@ -284,7 +284,7 @@ echo "Creating top directory: '${tempdir}'" mkdir ${tempdir} if [ "$changelog" = yes ]; then - if test -d .git; then + if test -e .git; then echo "Making top-level ChangeLog" make ChangeLog CHANGELOG=${tempdir}/ChangeLog || \ { x=$?; echo "make ChangeLog FAILED (try --no-changelog?)" >&2; exit $x; } -- cgit v1.2.3