Makefile.am: Use --add flag to "git config".
Without the "--add" flag to "git config include.path ...", the command fails if the user already has a configuration entry of "include.path". Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>master
parent
8b855dc1f4
commit
7f8575c97a
|
@ -1121,7 +1121,7 @@ cuirass-jobs: $(GOBJECTS)
|
||||||
|
|
||||||
.git/config: etc/git/gitconfig
|
.git/config: etc/git/gitconfig
|
||||||
$(AM_V_at)if command -v git >/dev/null && test -d .git; then \
|
$(AM_V_at)if command -v git >/dev/null && test -d .git; then \
|
||||||
git config include.path ../etc/git/gitconfig; \
|
git config --add include.path ../etc/git/gitconfig; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
nodist_noinst_DATA = .git/hooks/pre-push .git/config
|
nodist_noinst_DATA = .git/hooks/pre-push .git/config
|
||||||
|
|
Reference in New Issue