Commit 39e434dd authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4370 (Incorrect error message for git-hooks directory)

parent b495cf1b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
# NB: This script is not needed if you have suexec

# Git hooks should be writable, and linked in correctly
if [ -e ".git" ]; then
if [ -e "git-hooks" ] && [ -e ".git" ]; then
	echo "0/4 Setting up git hooks to run correctly"
	git config core.hooksPath git-hooks
	chmod a+x git-hooks/*