Skip to content

Commit

Permalink
Create hooks folder if doesn't exist
Browse files Browse the repository at this point in the history
Change-Id: I3131646204447fe2ab41419df713ef1948983253
  • Loading branch information
mlykotom committed Nov 28, 2022
1 parent 2c35ee7 commit 8533db5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 8533db5

Please sign in to comment.