diff options
author | Patrick Georgi <pgeorgi@google.com> | 2016-02-10 00:20:55 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-02-10 09:46:22 +0100 |
commit | aaa3b4a0d73500aa62fefed744ec0b29d67c54d2 (patch) | |
tree | 6dd048ded5f3bedbb956a9d1dbacdcc55da02f9f /Makefile.inc | |
parent | 8e68aff51ccb14d06db43c755f4f7ca89747d6ae (diff) |
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 <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/13650
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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; \ |