diff --git a/shell/lisa_shell b/shell/lisa_shell index a7df3f2ceef295010b12f062c327fbe9752f21a8..7a1003391d01d9aa1e8c35f477d15406747fe4b7 100755 --- a/shell/lisa_shell +++ b/shell/lisa_shell @@ -201,7 +201,7 @@ function _lisa-copy-git-hook { local hooks_dir="$(git -C "$LISA_HOME" rev-parse --git-common-dir)/hooks" local src="$LISA_HOME/tools/git-hooks/$hook" - local dst="$hooks_dir/$hook" + local dst="$LISA_HOME/$hooks_dir/$hook" # Avoid overriding existing hooks unless they are provided by LISA if [[ ! -e "$dst" ]] || grep -q 'LISA-HOOK' "$dst"; then