Merge pull request #463 from android/tm/fix-setup

Create hooks folder if doesn't exist
pull/466/head
Don Turner 2 years ago committed by GitHub
commit 8ae367f777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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