Commit 6e074a2bdc8377a945533d54a0013f5c7f608809

Guillem Jover 2015-11-30T23:00:35

build: Make git log invocation immune to local configuration

1
2
3
4
5
6
7
8
9
10
11
diff --git a/Makefile.am b/Makefile.am
index 8e50b1d..b839ae1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,5 +12,5 @@ EXTRA_DIST = \
 dist-hook:
 	echo $(VERSION) >$(distdir)/.dist-version
 	if [ -d .git ]; then \
-	  git log --stat -C >$(distdir)/ChangeLog; \
+	  XDG_CONFIG_HOME= HOME= git log --stat -C >$(distdir)/ChangeLog; \
 	fi