summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2012-10-22 16:29:37 +0800
committerPatrick Georgi <patrick@georgi-clan.de>2012-10-22 21:49:19 +0200
commit50ad0950ae5c931e7e36460db009dd1692b3c4b8 (patch)
tree924d9dab7acf0fcd17a7122db58c18ed0e15f7ec
parenteb825725ce9e9765b5370008d65829f2aa1aa550 (diff)
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>
-rw-r--r--Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 1ba56b06c7..3f079cdc2f 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -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 \