Skip to content

Commit

Permalink
build.sh: do not create local hook if not in Git repo.
Browse files Browse the repository at this point in the history
This is needed for builing a release.
  • Loading branch information
TurboGit committed Nov 3, 2019
1 parent a82f213 commit 90f128f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

# setup local hooks
git config core.hooksPath .githooks
[ -d .git ] && git config core.hooksPath .githooks

DT_SRC_DIR=$(dirname "$0")
DT_SRC_DIR=$(cd "$DT_SRC_DIR" && pwd -P)
Expand Down

0 comments on commit 90f128f

Please sign in to comment.