From aaa3b4a0d73500aa62fefed744ec0b29d67c54d2 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 10 Feb 2016 00:20:55 +0100 Subject: [PATCH] gitconfig: Fix make gitconfig if USE_BLOBS is disabled We tested for the presence of .git/modules/3rdparty, which always exists now because of .git/modules/3rdparty/chrome-ec. Test for .../hooks instead since that's the actual location for the later activities. Change-Id: Id5de9f850413c2bc3525faa6cc549641304c3d47 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/13650 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Stefan Reinauer --- Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc b/Makefile.inc index fb0d888a8e..c29ae348a6 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -475,7 +475,7 @@ gitconfig: fi; \ done # Now set up thehooks for 3rdparty/blobs - if [ -d .git/modules/3rdparty -a \ + if [ -d .git/modules/3rdparty/hooks -a \ \( util/gitconfig/commit-msg -nt .git/modules/3rdparty/hooks/commit-msg -o \ ! -x .git/modules/3rdparty/hooks/commit-msg \) ]; then \ sed -e "s,%MAKE%,$(MAKE),g" util/gitconfig/commit-msg > .git/modules/3rdparty/hooks/commit-msg; \