Fix prepare when using as git repository dependency

Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
This commit is contained in:
danilo neves cruz
2024-08-12 15:54:18 -03:00
committed by GitHub
parent c304b6710b
commit 4764ea5075
2 changed files with 6 additions and 1 deletions

5
scripts/prepare.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
if git status &>/dev/null; then git config core.hooksPath .githooks; fi