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>
This commit is contained in:
parent
b23ed4e252
commit
6dfffdc297
10
Makefile.inc
10
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
|
||||
|
|
Loading…
Reference in New Issue