Fix previous commit
This commit is contained in:
parent
88704d908a
commit
d7761a3439
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue