diff --git a/Makefile b/Makefile index 8c1dd56..6221552 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ BUILD_VERSION := $(shell cat version) BUILD_TIME := $(shell date "+%F %T") COMMIT_SHA1 := $(shell git rev-parse HEAD) -ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))/ +ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) DIST_DIR := $(ROOT_DIR)/dist/ VERSION_PATH := $(shell cat `go env GOMOD` | awk '/^module/{print $$2}')/cmd