diff --git a/server/Makefile b/server/Makefile index e516c16fc1..9f4c666e18 100644 --- a/server/Makefile +++ b/server/Makefile @@ -391,11 +391,11 @@ setup-go-work: ## Sets up your go.work file ifneq ($(IGNORE_GO_WORK_IF_EXISTS),true) @echo "Creating a go.work file" rm -f go.work - go work init - go work use . - go work use ./public + $(GO) work init + $(GO) work use . + $(GO) work use ./public ifeq ($(BUILD_ENTERPRISE_READY),true) - go work use ../../enterprise + $(GO) work use ../../enterprise endif endif