only setup precommit hook for git, github allows non git downloads through tags and zips

This commit is contained in:
toddouska 2013-03-13 10:06:08 -07:00
parent 25b4fed7b3
commit e482c00cb1

View File

@ -10,4 +10,7 @@ else
fi
autoreconf --install --force --verbose
ln -s -f ../../pre-commit.sh .git/hooks/pre-commit
if test -d .git; then
ln -s -f ../../pre-commit.sh .git/hooks/pre-commit
fi