gitconfig: Create .git/hooks before copying files.
Change-Id: Id5564bf7a12b3ea9a5e60bd9522466157ace8c65 Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/1601 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
eb825725ce
commit
50ad0950ae
|
@ -292,6 +292,7 @@ lint lint-stable:
|
|||
rm -f $$LINTLOG
|
||||
|
||||
gitconfig:
|
||||
mkdir -p .git/hooks
|
||||
for hook in commit-msg pre-commit ; do \
|
||||
if [ util/gitconfig/$$hook -nt .git/hooks/$$hook -o \
|
||||
! -x .git/hooks/$$hook ]; then \
|
||||
|
|
Loading…
Reference in New Issue