Files
openzeppelin-contracts/scripts/prepare.sh
danilo neves cruz e5962430d7 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>
2024-10-02 22:13:41 +02:00

6 lines
112 B
Bash
Executable File

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