commit e7ab678e50cd9569b21dcc0d3864bb1cd539a6f0
parent 5f914a980ce398be8c28708b6910944e2beb74c1
Author: Florian Dold <florian@dold.me>
Date: Fri, 23 Apr 2021 11:52:25 +0200
make sure that bootstrap succeeds despite failing commands
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bootstrap b/bootstrap
@@ -22,9 +22,9 @@ 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
+ ln -s ../../contrib/uncrustify_precommit .git/hooks/pre-commit 2> /dev/null || true
else
echo "Uncrustify not detected, hook not installed. Please install uncrustify if you plan on doing development"
fi