Create hooks folder if doesn't exist

Change-Id: I3131646204447fe2ab41419df713ef1948983253
pull/463/head
mlykotom 2 years ago
parent 2c35ee7344
commit 8533db5a8f

@ -28,6 +28,7 @@ curl -sSLo "${GIT_DIR}/hooks/commit-msg" \
echo "Installing git pre-push hook"
echo
mkdir -p "${GIT_DIR}/hooks/"
cp "${GIT_ROOT}/tools/pre-push" "${GIT_DIR}/hooks/pre-push" \
&& chmod +x "${GIT_DIR}/hooks/pre-push"

Loading…
Cancel
Save