dendrite/vendor/src/github.com/matrix-org/util/hooks/install.sh

5 lines
105 B
Bash

#! /bin/bash
DOT_GIT="$(dirname $0)/../.git"
ln -s "../../hooks/pre-commit" "$DOT_GIT/hooks/pre-commit"