From b4986c7756578d41827325bb3329625ffc33ee74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu>
Date: Tue, 11 Aug 2020 17:54:56 +0200
Subject: [PATCH] Do not exit on pre-commit hook link creation failure

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index cc0a5a71..1b769c65 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ install: venv
 install-dev: install
 	$(PIP_BIN) install -r requirements.dev.txt
 	[ -d .git/hooks ] || mkdir .git/hooks
-	ln -sfv .githooks/pre-commit .git/hooks/
+	ln -sfv .githooks/pre-commit .git/hooks/ || echo "Failed to create pre-commit link"
 
 .PHONY: lint
 ## lint: Run linters on the project
-- 
GitLab