Commit 88a4ae3b authored by Tristan Matthews's avatar Tristan Matthews

* #8542: should not require git

parent 6614ee1e
......@@ -3,9 +3,9 @@
# Workaround for
mkdir -p m4
HOOKS_DIR="`git rev-parse --git-dir`"/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 \);
rm -f ${HOOKS_DIR}/pre-commit
ln -s ${HOOKS_DIR}/pre-commit.sample ${HOOKS_DIR}/pre-commit
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment