scripts/refresh-git-hooks: Create hooks dir before making links.
Signed-off-by: Gleb Popov <6yearold@gmail.com> Change-Id: I9ceb7894c0b670bf17cb89e0397b994b5e227ef7pull/2288/head
parent
30f7aa6834
commit
6622053557
|
@ -11,6 +11,8 @@ if [ ! -d "${srcdir}/.git" ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
mkdir -p ${srcdir}/.git/hooks
|
||||
|
||||
for hook_name in ${srcdir}/.git-hooks/*
|
||||
do
|
||||
hook="${srcdir}/.git/hooks/${hook_name##*/}"
|
||||
|
|
Loading…
Reference in New Issue