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

Replace legacy ... w/ $(...) in .git_hooks_pre-commit

This commit is contained in:
Peter Dave Hello
2020-12-21 03:29:09 +08:00
parent 1633af6723
commit 8095f4560a

View File

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