Skip to content
Snippets Groups Projects
Commit f8bfdfaa authored by Tristan Matthews's avatar Tristan Matthews
Browse files
parents d0233b7f 88a4ae3b
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,9 @@
# Workaround for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565663
mkdir -p m4
HOOKS_DIR="`git rev-parse --git-dir`"/hooks
HOOKS_DIR="../.git/hooks"
# install pre-commit hook for doing clean commits
if test ! \( -x ${HOOKS_DIR}/hooks/pre-commit -a -L ${HOOKS_DIR}/pre-commit \);
if test ! \( -x ${HOOKS_DIR}/pre-commit -a -L ${HOOKS_DIR}/pre-commit \);
then
rm -f ${HOOKS_DIR}/pre-commit
ln -s ${HOOKS_DIR}/pre-commit.sample ${HOOKS_DIR}/pre-commit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment