Fix autogen to check symlink for style-checker
- Replace check for a file with symlink https://bugzilla.gnome.org/show_bug.cgi?id=759060
This commit is contained in:
parent
51b6321514
commit
61fa993d6f
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ cd $srcdir
|
|||
exit 1
|
||||
}
|
||||
|
||||
if [ -d $srcdir/.git ] && [ ! -e $srcdir/.git/hooks/pre-commit ]; then
|
||||
if [ -d $srcdir/.git ] && [ ! -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue