Skip to content

Commit

Permalink
fix(githooks): chmod recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
Ant0wan committed Jan 22, 2025
1 parent 6464d24 commit e2ceee1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/githooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ set -o errexit
DIR="$HOME/.git-templates"
mkdir -p "$DIR/hooks"
git config --global init.templatedir "${DIR}"
echo "Copy all hooks for here"
chmod a+x ~/.git-templates/hooks/*
printf "Copy all hooks for here\n"
sudo chmod --recursive a+x ~/.git-templates/hooks

0 comments on commit e2ceee1

Please sign in to comment.