build: Make git log invocation immune to local configuration

This commit is contained in:
Guillem Jover 2015-11-30 23:00:35 +01:00
parent 0871daf7b0
commit 6e074a2bdc

View File

@ -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