From e84342865926956d36fe93ed377184ae54c2ec7c Mon Sep 17 00:00:00 2001 From: Gavin Inglis Date: Thu, 3 Aug 2023 15:03:02 -0700 Subject: [PATCH] fix: quote recursive calls to make $(MAKE) is used for calling `make` recursively. On a Windows machine, `make` might be at some location containing a space or special character, like /c/Program Files (x86)/GnuWin32/bin/make . Wrap in quotes as "$(MAKE)" to prevent errors. Signed-off-by: Gavin Inglis --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f6d302079..b69231031 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ finch-core: FINCH_OS_x86_URL="$(FINCH_OS_x86_URL)" \ FINCH_OS_AARCH64_URL="$(FINCH_OS_AARCH64_URL)" \ VDE_TEMP_PREFIX=$(CORE_VDE_PREFIX) \ - $(MAKE) + "$(MAKE)" mkdir -p _output cd deps/finch-core/_output && tar c * | tar Cvx $(OUTDIR) @@ -77,7 +77,7 @@ local-core: FINCH_OS_x86_URL="$(FINCH_OS_x86_URL)" \ FINCH_OS_AARCH64_URL="$(FINCH_OS_AARCH64_URL)" \ VDE_TEMP_PREFIX=$(CORE_VDE_PREFIX) \ - $(MAKE) lima lima-socket-vmnet + "$(MAKE)" lima lima-socket-vmnet mkdir -p _output cd deps/finch-core/_output && tar c * | tar Cvx $(OUTDIR)