From 7b6d36b5a42bc8cc7c4198267451ea787e496cc2 Mon Sep 17 00:00:00 2001 From: Yurii Puchkov Date: Sat, 23 Dec 2023 21:16:44 -0700 Subject: [PATCH] fix: install git hook --- scripts/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index ea14e4b..b023547 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,8 +1,8 @@ #!/bin/sh -SEMVER_ROOT="/pygitver" +PYGITVER_ROOT="/pygitver" GIT_HOOK_COMMIT_MSG_FILE_DST=".git/hooks/commit-msg" -GIT_HOOK_COMMIT_MSG_FILE_SRC="${SEMVER_ROOT}/scripts/git/hooks/commit-msg" +GIT_HOOK_COMMIT_MSG_FILE_SRC="${PYGITVER_ROOT}/scripts/git/hooks/commit-msg" echo "Installing git hook."; if [ ! -r ".git" ]; then