ignore symlink failure

This commit is contained in:
Christian Grothoff 2020-07-17 18:08:01 +02:00
parent 4fde76049e
commit eb290f3b04
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -27,7 +27,7 @@ existence()
if existence uncrustify; then
echo "Installing uncrustify hook and configuration"
# Install uncrustify format symlink (if possible)
ln -s contrib/uncrustify.cfg uncrustify.cfg 2> /dev/null
ln -s contrib/uncrustify.cfg uncrustify.cfg 2> /dev/null || true
# Install pre-commit hook (if possible)
ln -s ../../contrib/uncrustify_precommit .git/hooks/pre-commit 2> /dev/null
else