From 1ba6c67ff2ca41a9f9de3b4af0c8b461e9418107 Mon Sep 17 00:00:00 2001 From: blotus Date: Thu, 15 Sep 2022 17:12:29 +0200 Subject: [PATCH] rename ROOT var to CS_ROOT (#1755) --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a687316e8..3ec6703b7 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,11 @@ ifeq ($(OS), Windows_NT) SHELL := pwsh.exe .SHELLFLAGS := -NoProfile -Command - ROOT = $(shell (Get-Location).Path) + CS_ROOT = $(shell (Get-Location).Path) SYSTEM = windows EXT = .exe else - ROOT ?= $(shell pwd) + CS_ROOT ?= $(shell pwd) SYSTEM ?= $(shell uname -s | tr '[A-Z]' '[a-z]') endif @@ -17,7 +17,7 @@ else endif ifneq ($(OS), Windows_NT) - include $(ROOT)/platform/unix_common.mk + include $(CS_ROOT)/platform/unix_common.mk endif CROWDSEC_FOLDER = ./cmd/crowdsec @@ -93,7 +93,7 @@ ifneq ($(OS), Windows_NT) fi else # This needs Set-ExecutionPolicy -Scope CurrentUser Unrestricted - @$(ROOT)/scripts/check_go_version.ps1 $(MINIMUM_SUPPORTED_GO_MAJOR_VERSION) $(MINIMUM_SUPPORTED_GO_MINOR_VERSION) + @$(CS_ROOT)/scripts/check_go_version.ps1 $(MINIMUM_SUPPORTED_GO_MAJOR_VERSION) $(MINIMUM_SUPPORTED_GO_MINOR_VERSION) endif .PHONY: clean