From 61daa49e9d964265ef2e470ad6c0784381e3f54d Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Thu, 26 Aug 2021 14:37:35 +0200 Subject: [PATCH] fix(tools): update Makefile targets to allow make binary path with spaces - avoids issues if the make binary path contains spaces --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0985de3b4..56b60c8c1 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ check_strip_nb: .PHONY: strip_nb pylint: - +poetry run env bash script/make_utils/serialize_targets.sh $(MAKE) \ + +poetry run env bash script/make_utils/serialize_targets.sh "$(MAKE)" \ pylint_src pylint_tests pylint_benchmarks .PHONY: pylint @@ -94,7 +94,7 @@ mypy_benchmark: # the parent make execution. We serialize calls to these targets as they may overwrite each others # cache which can cause issues. mypy_ci: - +poetry run env bash script/make_utils/serialize_targets.sh $(MAKE) \ + +poetry run env bash script/make_utils/serialize_targets.sh "$(MAKE)" \ mypy mypy_test mypy_benchmark .PHONY: mypy_ci