summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-04-23 11:52:25 +0200
committerFlorian Dold <florian@dold.me>2021-04-23 11:52:25 +0200
commite7ab678e50cd9569b21dcc0d3864bb1cd539a6f0 (patch)
treed7f544b515e57f4724a9fe19f74d5903cc7e8ca3 /bootstrap
parent5f914a980ce398be8c28708b6910944e2beb74c1 (diff)
downloadmerchant-e7ab678e50cd9569b21dcc0d3864bb1cd539a6f0.tar.gz
merchant-e7ab678e50cd9569b21dcc0d3864bb1cd539a6f0.tar.bz2
merchant-e7ab678e50cd9569b21dcc0d3864bb1cd539a6f0.zip
make sure that bootstrap succeeds despite failing commands
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index 23e2cbce..7a3f340c 100755
--- 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