Fix previous commit

This commit is contained in:
Sahil Sareen 2015-12-06 13:31:26 +05:30
parent 88704d908a
commit d7761a3439

View file

@ -14,10 +14,10 @@ cd $srcdir
# Use the style-checker as pre-commit and pre-applypatch hooks
if [ -d $srcdir/.git ]; then
if [ -L $srcdir/.git/hooks/pre-commit ]; then
if [ ! -L $srcdir/.git/hooks/pre-commit ]; then
ln -s ../../../libgames-support/style-checker $srcdir/.git/hooks/pre-commit && echo "Enabled pre-commit style checker." || :
fi
if [ -L $srcdir/.git/hooks/pre-applypatch ]; then
if [ ! -L $srcdir/.git/hooks/pre-applypatch ]; then
ln -s ../../../libgames-support/style-checker $srcdir/.git/hooks/pre-applypatch && echo "Enabled pre-applypatch style checker." || :
fi
fi