diff options
author | Nico Huber <nico.huber@secunet.com> | 2016-10-08 23:03:24 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2016-10-10 13:46:02 +0200 |
commit | 6dfffdc2975eedd75f04c8b39a5e1147d5a45db8 (patch) | |
tree | ce17768bce4996a62a464d0d9b682a43e91a6505 | |
parent | b23ed4e252222497c791ac451060239b16387c78 (diff) | |
download | coreboot-6dfffdc2975eedd75f04c8b39a5e1147d5a45db8.tar.xz |
Makefile.inc: Fix make gitconfig for blobs repo
It's `.git/modules/3rdparty/blobs` now.
Change-Id: Ief12bb934332375a20f150afb568aef266924c9f
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/16946
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
-rw-r--r-- | Makefile.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.inc b/Makefile.inc index d6c747646f..c7f1d04068 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -563,11 +563,11 @@ gitconfig: fi; \ done # Now set up thehooks for 3rdparty/blobs - 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; \ - chmod +x .git/modules/3rdparty/hooks/commit-msg; \ + if [ -d .git/modules/3rdparty/blobs/hooks -a \ + \( util/gitconfig/commit-msg -nt .git/modules/3rdparty/blobs/hooks/commit-msg -o \ + ! -x .git/modules/3rdparty/blobs/hooks/commit-msg \) ]; then \ + sed -e "s,%MAKE%,$(MAKE),g" util/gitconfig/commit-msg > .git/modules/3rdparty/blobs/hooks/commit-msg; \ + chmod +x .git/modules/3rdparty/blobs/hooks/commit-msg; \ fi [ -d 3rdparty/blobs ] && cd 3rdparty/blobs && git config remote.origin.push HEAD:refs/for/master git config remote.origin.push HEAD:refs/for/master |