From 719e524a242d6c9059837b23f1eb0941758cf054 Mon Sep 17 00:00:00 2001 From: Nuno Silva Date: Sat, 25 Dec 2021 16:07:25 +0000 Subject: [PATCH] fix infinite fork loop when dep fails in 'make vendor-install' --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index ad58c16..b21bc7c 100644 --- a/Makefile +++ b/Makefile @@ -81,6 +81,7 @@ vendor-update: vendor-install: @echo Installing vendored packages + @if test $(MAKELEVEL) -gt 5; then echo Aborting to avoid infinite forks; exit 1; fi @$(DEPENV) dep ensure -v -vendor-only || $(MAKE) vendor-install @echo