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:
Zheng Bao 2012-10-22 16:29:37 +08:00 committed by Patrick Georgi
parent eb825725ce
commit 50ad0950ae
1 changed files with 1 additions and 0 deletions

View File

@ -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 \