1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Merge pull request #653 from PeterDaveHello/RefactorGitHookShellScript

Refactor .git_hooks_pre-commit shell script syntax
This commit is contained in:
Ross McFarland
2020-12-26 08:23:18 -08:00
committed by GitHub

View File

@@ -2,10 +2,10 @@
set -e set -e
HOOKS=`dirname $0` HOOKS=$(dirname "$0")
GIT=`dirname $HOOKS` GIT=$(dirname "$HOOKS")
ROOT=`dirname $GIT` ROOT=$(dirname "$GIT")
. $ROOT/env/bin/activate . "$ROOT/env/bin/activate"
$ROOT/script/lint "$ROOT/script/lint"
$ROOT/script/coverage "$ROOT/script/coverage"