Fix prepare when using as git repository dependency
Co-authored-by: Ernesto García <ernestognw@gmail.com> Co-authored-by: cairo <cairoeth@protonmail.com> Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
committed by
Hadrien Croubois
parent
0e7f530475
commit
e5962430d7
5
scripts/prepare.sh
Executable file
5
scripts/prepare.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
if git status &>/dev/null; then git config core.hooksPath .githooks; fi
|
||||
Reference in New Issue
Block a user